]> git.mxchange.org Git - simgear.git/commitdiff
RedHat package building changes contributed by Habibie <habibie@MailandNews.com>
authorcurt <curt>
Tue, 28 Mar 2000 19:49:07 +0000 (19:49 +0000)
committercurt <curt>
Tue, 28 Mar 2000 19:49:07 +0000 (19:49 +0000)
Makefile.am
configure.in
simgear/config.h

index 6c307276bc269a2c40cbbf9e17f5c1f666892f8c..1cf44b13b411cdf04da67fcfcf5c52c17eddf1b2 100644 (file)
@@ -1,6 +1,14 @@
-EXTRA_DIST = mksymlinks.sh acsite.m4 acconfig.h
+EXTRA_DIST     = mksymlinks.sh acsite.m4 acconfig.h
+
+SUBDIRS                = simgear
+
+#
+# Rule to build RPM distribution package
+#
+rpm: dist
+       cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/packages/SOURCES
+       rpm -ba @PACKAGE@.spec
 
 dist-hook:
        tar cf - simgear/metar | (cd $(distdir); tar xvf -)
 
-SUBDIRS = simgear
index 0a63fa69344350d8a4d1a4fedbb01cb1512fb7bf..84b6bf958369351534d80f63f1cc62ff025c9cce 100644 (file)
@@ -227,6 +227,7 @@ AM_CONFIG_HEADER(simgear/config.h)
 
 AC_OUTPUT( \
        Makefile \
+       SimGear.spec \
        simgear/Makefile \
        simgear/version.h \
        simgear/bucket/Makefile \
index 84b22bd485e4628146eba2b09d236fadda8eed47..754b6559b749583025d1a4bf3353d94301e1b849 100644 (file)
 #define PACKAGE "SimGear"
 
 /* Version number of package */
-#define VERSION "0.0.6"
+#define VERSION "0.0.7"