Procházet zdrojové kódy

Explain about DESTDIR

Samuel Thibault před 4 roky
rodič
revize
ec696feffd
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 7 0
      README.dev

+ 7 - 0
README.dev

@@ -113,3 +113,10 @@ Only real LDFLAGS such as -no-undefined go to LDFLAGS.
 If a program foo needs more libraries, it can put then in foo_LDADD.
 
 (No, AM_LDADD does not exist)
+
+All install rules must use $(DESTDIR) so that
+
+./configure --prefix=/usr && make && make install DESTDIR=/tmp/foobar
+
+can properly work, as it is used by distributions. That can easily checked by
+*not* running it as root.