install man pages, comedi_config, comedi_calibrate
authorDavid Schleef <ds@schleef.org>
Wed, 9 Aug 2000 21:07:14 +0000 (21:07 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 9 Aug 2000 21:07:14 +0000 (21:07 +0000)
Makefile

index b31adab00b5c4f46e954208df5c4a0718a27abd6..a0d0277e5cc25c825d87f797ab40e47bd3f5ca58 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,9 @@ DOCFILES= README INSTALL `find doc -type f`
 
 INSTALLDIR=$(DESTDIR)/usr
 INSTALLDIR_LIB=$(DESTDIR)/usr/lib
-INSTALLDIR_DOC=$(DESTDIR)/usr/doc/libcomedi
+INSTALLDIR_DOC=$(DESTDIR)/usr/share/doc/libcomedi
+INSTALLDIR_MAN=$(DESTDIR)/usr/share/man
+INSTALLDIR_BIN=$(DESTDIR)/usr/bin
 
 comedilib:     subdirs
 
@@ -33,6 +35,10 @@ install:     dummy
        #/sbin/ldconfig -n ${INSTALLDIR}/lib
        install -d ${INSTALLDIR_DOC}
        install ${DOCFILES} ${INSTALLDIR_DOC}
+       install man/*.7 ${INSTALLDIR_MAN}/man7
+       install man/*.8 ${INSTALLDIR_MAN}/man8
+       install -m 755 comedi_config/comedi_config ${INSTALLDIR_BIN}
+       install -m 755 comedi_calibrate/comedi_calibrate ${INSTALLDIR_BIN}
 
 lpr:   dummy
        find . -name '*.[chs]'|xargs enscript -2r -pit.ps