X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Makefile.am;h=a57c42b3a0dd44463020c26eddba3071e34981f7;hb=11479cd8c386d8bf7e1fee7bed60ab4abefc5fad;hp=6311c94653f5fd0e16685b0555553f93442b4648;hpb=5173d709e090b953eaf800cbcd1bf897de332a12;p=simgear.git diff --git a/Makefile.am b/Makefile.am index 6311c946..a57c42b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,32 +1,25 @@ -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 \ + SimGear.dsp \ + SimGear.dsw -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