SOURCES: tcc-DESTDIR.patch - yet one fix

undefine undefine at pld-linux.org
Mon Jun 27 04:33:08 CEST 2005


Author: undefine                     Date: Mon Jun 27 02:33:08 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- yet one fix

---- Files affected:
SOURCES:
   tcc-DESTDIR.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/tcc-DESTDIR.patch
diff -u SOURCES/tcc-DESTDIR.patch:1.3 SOURCES/tcc-DESTDIR.patch:1.4
--- SOURCES/tcc-DESTDIR.patch:1.3	Mon Jun 27 04:29:23 2005
+++ SOURCES/tcc-DESTDIR.patch	Mon Jun 27 04:33:03 2005
@@ -44,3 +44,18 @@
  endif
  
  clean:
+@@ -231,10 +231,10 @@
+ 
+ # libtcc generation and example
+ libinstall: libtcc.a 
+-	mkdir -p "$(libdir)"
+-	$(INSTALL) -m644 libtcc.a "$(libdir)"
+-	mkdir -p "$(includedir)"
+-	$(INSTALL) -m644 libtcc.h "$(includedir)"
++	mkdir -p "$(DESTDIR)$(libdir)"
++	$(INSTALL) -m644 libtcc.a "$(DESTDIR)$(libdir)"
++	mkdir -p "$(DESTDIR)$(includedir)"
++	$(INSTALL) -m644 libtcc.h "$(DESTDIR)$(includedir)"
+ 
+ libtcc.o: tcc.c i386-gen.c Makefile
+ 	$(CC) $(CFLAGS) -DLIBTCC -c -o $@ $<
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/tcc-DESTDIR.patch?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list