]> git.mxchange.org Git - simgear.git/blobdiff - Makefile.am
Decouple sg_time code from the current time(NULL), i.e. you can run the
[simgear.git] / Makefile.am
index 6311c94653f5fd0e16685b0555553f93442b4648..794ab1a3523b65c4a2105b634cd8cf358a873133 100644 (file)
@@ -1,32 +1,17 @@
-if ENABLE_UNIX_SERIAL
-SERIAL_DIRS = serial
-else
-SERIAL_DIRS =
-endif
+EXTRA_DIST = \
+       acsite.m4 \
+       acconfig.h \
+       mksymlinks.sh \
+       SimGear.dsp \
+       SimGear.dsw \
+       metakit-2.4.2-32.tar.gz \
+       zlib-1.1.3.tar.gz
 
-if HAVE_ZLIB
-ZLIB_DIRS =
-else
-ZLIB_DIRS = zlib
-endif
+SUBDIRS        = simgear
 
-METAR_DIRS =
-# METAR_DIRS = metar
-
-EXTRA_DIST = mksymlinks.sh
-
-dist-hook:
-       tar cf - metar | (cd $(distdir); tar xvf -)
-
-SUBDIRS = \
-       include \
-       bucket \
-       debug \
-       math \
-       $(METAR_DIRS) \
-       misc \
-       screen \
-       $(SERIAL_DIRS) \
-       xgl \
-       $(ZLIB_DIRS)
+#
+# Rule to build RPM distribution package
+#
+rpm: dist
+       rpm -ta $(PACKAGE)-$(VERSION).tar.gz