瀏覽代碼

Explain about DESTDIR

Samuel Thibault 4 年之前
父節點
當前提交
ec696feffd
共有 1 個文件被更改,包括 7 次插入0 次删除
  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.