[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

not installing files...(with cdbs)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

i was wondering, what is the best way to *exclude* files from a package
that get installed by upstream's "make install" target?

at the same time i don't want to miss the comforts of packaging systems
like cdbs.

e.g. upstream uses autotools as build system and installs "LICENSE.txt"
 (GPL2) into some non-standard location (pkglibdir).
i would use a symlink to common-licenses.

- - modifying the build system (exclude LICENSE.txt from the Makefile.am)
seems a bit of an overkill.

- - using debian/mypackage.install to move files from a temporary
installdestination (debian/tmp/) to the the real one (debian/mypackage)
this usually works well, but not so good if a given source package
generates only a single binary package.
this might be a problem with CDBS

- - removing the files right after the "install" target.

- - ???

the 2nd attempt seems to be most the most promising, but i seem to be
unable to make it work.

maybe i'm missing something, like debian/mypackage.noinstall...

fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6UM0YACgkQkX2Xpv6ydvR0twCgk315bvFd2eGdpFxNwj9vUnFS
bnUAoNfTBG/c1+JJ+41QArDwRTWwKOaT
=/NMK
-----END PGP SIGNATURE-----

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: