Blob Blame History Raw
commit 80601bca1cd8c43e4860d4a290c9dbdfe08e49b6
Author: Nathan Scott <nathans@redhat.com>
Date:   Wed Jan 29 09:40:57 2014 +1100

    Fix build regression from recent NeedRebuild makefile changes
    
    Conditional code added to pmns makefile has incorrectly caught
    the $(STDPMID) macro in its evil clutches.  This causes failure
    on new installations (no problems for upgrades though) as two
    important namespace files are missing from the package.

diff --git a/src/pmns/GNUmakefile b/src/pmns/GNUmakefile
index b2fb5c8..32ebe34 100644
--- a/src/pmns/GNUmakefile
+++ b/src/pmns/GNUmakefile
@@ -62,8 +62,9 @@ install:	default
 	$(INSTALL) -m 644 GNUmakefile.install $(PMNS_VAR_DIR)/Makefile
 	$(INSTALL) -m 755 Rebuild $(PMNS_VAR_DIR)/Rebuild
 	$(INSTALL) -m 755 Make.stdpmid $(PMNS_VAR_DIR)/Make.stdpmid
+	$(INSTALL) -m 644 $(STDPMID) $(PMNS_VAR_DIR)
 ifeq (, $(filter redhat debian, $(PACKAGE_DISTRIBUTION)))
-	$(INSTALL) -m 644 .NeedRebuild $(STDPMID) $(PMNS_VAR_DIR)
+	$(INSTALL) -m 644 .NeedRebuild $(PMNS_VAR_DIR)/.NeedRebuild
 endif
 
 stdpmid:	$(STDPMID)