With "make rpm", configure all modified files in sysconfdir (etc) to be saved when...
[mmh] / Makefile.am
index 082c9c7..3b6b84a 100644 (file)
@@ -534,6 +534,7 @@ rpm: dist
        @cp -p nmh.spec $(rpmdir)/SPECS
        @rpmbuild --define '_topdir $(rpmdir)' \
          --define '_tmppath %{_topdir}/TMP' \
+         --define "_sysconfdir $(DESTDIR)$(sysconfdir)" \
          -ba $(rpmdir)/SPECS/nmh.spec
 .PHONY: rpm