-if ENABLE_UNIX_SERIAL
-SERIAL_DIRS = serial
-else
-SERIAL_DIRS =
-endif
+EXTRA_DIST = \
+ acinclude.m4 \
+ autogen.sh \
+ DoxygenMain.cxx \
+ README.MSVC \
+ README.zlib \
+ README.plib \
+ README.OpenAL \
+ README.OSG \
+ projects
-if HAVE_ZLIB
-ZLIB_DIRS =
-else
-ZLIB_DIRS = zlib
-endif
-
-METAR_DIRS =
-# METAR_DIRS = metar
-
-EXTRA_DIST = mksymlinks.sh
+SUBDIRS = simgear
dist-hook:
- tar cf - metar | (cd $(distdir); tar xvf -)
+ (cd $(top_srcdir); $(HOME)/Projects/FlightGear/admin/am2dsp.pl)
+ rm -rf `find $(distdir)/projects -name CVS`
-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