about summary refs log tree commit diff
path: root/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-01-02T16·04+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-01-02T16·04+0000
commit9ff365709541b8f50fddcf667ded07a5b9f774de (patch)
tree8d9780afe6dbc0c36fd6108b5d3004bf90a1f0a1 /Makefile.am
parent0e09cc12c08ad2db0b8620ca537bd81ca45c05df (diff)
* Generate RPM spec file.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 99ec7f741209..2b44a56a6064 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,10 @@
 SUBDIRS = externals src scripts corepkgs doc
 
-EXTRA_DIST = substitute.mk nix.spec
+EXTRA_DIST = substitute.mk nix.spec nix.spec.in
 
-rpm: dist
+include ./substitute.mk
+
+nix.spec: nix.spec.in
+
+rpm: nix.spec dist
 	rpm $(EXTRA_RPM_FLAGS) -ta $(distdir).tar.gz