Giter Site home page Giter Site logo

Comments (9)

ddssff avatar ddssff commented on August 25, 2024

Hmm, the only hackage package I see with data-dir set to a non-empty string are js-flot and js-jquery, which set them to just "javascript". Oh, haddock-api sets it to "resources", and haste-compiler sets it to "lib".

from cabal-debian.

nomeata avatar nomeata commented on August 25, 2024

haskell-devscripts passes --datasubdir=$(CABAL_PACKAGE). Why do you think it is wrong?

from cabal-debian.

ddssff avatar ddssff commented on August 25, 2024

So far I've been confusing where to find them in the source tree with where to put them in the installed binary package tree.

from cabal-debian.

ddssff avatar ddssff commented on August 25, 2024

I think I just need to stop lowercasing $(CABAL_PACKAGE) in Debian/Debianize/Input.hs

from cabal-debian.

nomeata avatar nomeata commented on August 25, 2024

Not really. The variable CABAL_PACKAGE is used for the foo in libghc-foo-dev (maybe a badly named variable, but it’s grown code...), so lower-casing this is correct.

Why do you have to know about the data directory at all? Doesn’t haskell-devscripts take care of that?

from cabal-debian.

ddssff avatar ddssff commented on August 25, 2024

Cabal-debian builds the debian/*.install files, which contain the files listed in the data-files field of the cabal file. It also adds files to the install files for other reasons.

from cabal-debian.

ddssff avatar ddssff commented on August 25, 2024

Oh, I wasn't going to leave it upper case for package names, just for the building the path to the directory containing the installed data files.

from cabal-debian.

nomeata avatar nomeata commented on August 25, 2024

Right, but I’m confused (independent of whether its a good idea or not) about why this is a cabal-debian bug, and not one against haskell-devscripts.

from cabal-debian.

ddssff avatar ddssff commented on August 25, 2024

This is confusing and I think it is resolved. So I'll close it.

from cabal-debian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.