Mailing List archive

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

[vdr] Re: Fix to copy plugins during "make install"



 
> Actually, this may be a little better.  I always remember 
> installing vdr the
> first time and it fails because the man dir was not created. 

Sorry folks, this should be the last one..

--- vdr-1.3.12-mod/Makefile     2004-05-16 03:51:44.000000000 -0700
+++ vdr-1.3.12-mod-eepg-t1-ac3-pref/Makefile    2004-07-22
23:04:08.000000000 -0700
@@ -159,7 +170,23 @@
 # Install the files:

 install:
+       @if [ ! -d $(BINDIR) ]; then\
+           mkdir $(BINDIR);\
+           fi
        @cp vdr runvdr $(BINDIR)
+       @if [ ! -d $(BINDIR)/$(PLUGINLIBDIR) ]; then\
+           mkdir $(BINDIR)/$(PLUGINLIBDIR);\
+           fi
+       @if [ ! -d $(MANDIR) ]; then\
+            mkdir $(MANDIR);\
+            fi
+       @if [ ! -d $(MANDIR)/man1 ]; then\
+           mkdir $(MANDIR)/man1;\
+           fi
+       @if [ ! -d $(MANDIR)/man5 ]; then\
+            mkdir $(MANDIR)/man5;\
+            fi
+       @cp $(PLUGINLIBDIR)/* $(BINDIR)/$(PLUGINLIBDIR)/
        @gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz
        @gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz
        @if [ ! -d $(VIDEODIR) ]; then\





Home | Main Index | Thread Index