Install demo/*.c, install etc/*.conf correctly
authorDavid Schleef <ds@schleef.org>
Sat, 16 Feb 2002 23:23:36 +0000 (23:23 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 16 Feb 2002 23:23:36 +0000 (23:23 +0000)
Makefile

index c7e48addb200653fe1a8d371e4ab130a57360d77..9d786907a561bf1c009604db0be0008681aa357b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,14 +66,17 @@ endif
        install man/*.8 ${INSTALLDIR_MAN}/man8
 
 install_debian: install
-       install -d ${INSTALLDIR_DOC}
-       install -m 644 ${DOCFILES} ${INSTALLDIR_DOC}
        install -d $(DESTDIR)/etc/pcmcia/
        install -m 755 etc/pcmcia/comedi $(DESTDIR)/etc/pcmcia/
        install -m 644 etc/pcmcia/comedi.conf $(DESTDIR)/etc/pcmcia/
        install -m 644 etc/pcmcia/comedi.opts $(DESTDIR)/etc/pcmcia/
-       install -m 755 etc/das1600.conf $(INSTALLDIR_DOC)/examples
-       install -m 755 etc/dt282x.conf $(INSTALLDIR_DOC)/examples
+       install -d $(INSTALLDIR_DOC)
+       install -m 644 $(DOCFILES) $(INSTALLDIR_DOC)
+       install -d $(INSTALLDIR_DOC)/etc/
+       install -m 755 etc/das1600.conf $(INSTALLDIR_DOC)/etc/
+       install -m 755 etc/dt282x.conf $(INSTALLDIR_DOC)/etc/
+       install -d $(INSTALLDIR_DOC)/examples/
+       install -m 644 demo/README demo/*.c $(INSTALLDIR_DOC)/examples/
 ifeq ($(with_perl),yes)
        install -d $(INSTALLDIR_PERL)
        install -m 644 perl/blib/lib/Comedi.pm $(INSTALLDIR_PERL)/