X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Makefile.am;h=9419c66f4c8978b0c876c201464c34660dbcea69;hb=6a6cc22e9cd67ea684d3317504a6468629afd0ac;hp=6311c94653f5fd0e16685b0555553f93442b4648;hpb=5173d709e090b953eaf800cbcd1bf897de332a12;p=simgear.git diff --git a/Makefile.am b/Makefile.am index 6311c946..9419c66f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,32 +1,20 @@ -if ENABLE_UNIX_SERIAL -SERIAL_DIRS = serial -else -SERIAL_DIRS = -endif +EXTRA_DIST = \ + acinclude.m4 \ + autogen.sh \ + DoxygenMain.cxx \ + README.MSVC \ + README.zlib \ + SimGear.dsp \ + SimGear.dsw -if HAVE_ZLIB -ZLIB_DIRS = -else -ZLIB_DIRS = zlib -endif - -METAR_DIRS = -# METAR_DIRS = metar - -EXTRA_DIST = mksymlinks.sh +SUBDIRS = src-libs simgear dist-hook: - tar cf - metar | (cd $(distdir); tar xvf -) + (cd $(top_srcdir); $(HOME)/Projects/FlightGear-0.9/admin/am2dsp.pl) -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