Cleanup doc demo installation for comedilib-9999.ebuild.
authorW. Trevor King <wking@drexel.edu>
Thu, 9 Dec 2010 03:00:39 +0000 (22:00 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 9 Dec 2010 03:00:48 +0000 (22:00 -0500)
The previous implementation installed compiled object and binary files
as well as the demo source.  There's a Makefile handy, so people can
easily compile the demo programs on their own if they want.

sci-libs/comedilib/Manifest
sci-libs/comedilib/comedilib-9999.ebuild

index e5cc93da5edd7b5527fb6f776a6bffd5cc2e7d50..6e2f4e1a87e00d00203c5c08f0365f219c68020f 100644 (file)
@@ -1,4 +1,4 @@
 AUX comedilib-9999-setup.py.patch 956 RMD160 721be9715cf1058fb2e9407f36da04fa6cb8b95f SHA1 56c894ed915b29ab9f91fd327bd8b5c932c12161 SHA256 74f03d023d93c0cebb7e0463146e95a5abe5140501472fc2fca2ef36cb11e207
-EBUILD comedilib-9999.ebuild 2315 RMD160 28f2de82032185e52c0a0e236757c23d633bd125 SHA1 9a8c39761d158a06828e2e864483655906ecfab4 SHA256 0bf0d85ecd629907bc0e4130de69be16d0fdef98eafd33d7d70c4449f0a63121
+EBUILD comedilib-9999.ebuild 2209 RMD160 6454a93a3a758d82cdaf34d45e776d55a80c901c SHA1 1f9d4ef91344d2af0571488e1b43ab02a01dd620 SHA256 cea8907d05d70865e4d76672e1a445af04357f312c380618e47aea8632e6965d
 MISC ChangeLog 1168 RMD160 62c9992630de85e02a25d5a4cc077386211b8859 SHA1 bc9d91fff9c4f05804d564f5e55fd63ed99c3426 SHA256 6766a0d3f76055ed559975a91df6f2876289f129248fa739853da0d2606bec9f
 MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72
index 0ca12c6a08e4283adb067e2140692f8c12538c8d..e408594474c36f22633c7175cdcbf3126267c5eb 100644 (file)
@@ -86,16 +86,11 @@ src_install()
        if use doc ; then
                local DOCINTO="/usr/share/doc/${PF}"
                local DDOCINTO="${D}${DOCINTO}"
-               # convert to `dodoc -r` once recursive dodoc is available in EAPI 4
-               insinto ${DOCINTO}
-               doins -r demo || die "doins failed"
-               rm -rf ${DDOCINTO}/demo/CVS
-               rm -rf ${DDOCINTO}/demo/Makefile.am
-               rm -rf ${DDOCINTO}/demo/perl
+               insinto ${DOCINTO}/demo
+               doins demo/Makefile demo/README demo/*.c demo/*.h || die "doins failed"
                if use python ; then
-                       rm -rf ${DDOCINTO}/demo/python/CVS
-               else
-                       rm -rf ${DDOCINTO}/demo/python
+                       insinto ${DOCINTO}/demo/python
+                       doins demo/python/README demo/python/*.py || die "doins failed"
                fi
        fi
        if use python ; then