1 EXTRA_DIST = mksymlinks.sh acsite.m4 acconfig.h
6 # Additional all, clean, and distclean rules for additional packages.
7 # We can't just include the additional package dirs in SUBDIRS (which
8 # would be nice because there are then problems with make dist
14 for subdir in $$list; do \
15 echo "Making $$target in $$subdir"; \
16 if test "$$subdir" = "."; then \
18 local_target="$$target-am"; \
20 local_target="$$target"; \
22 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
23 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
29 for subdir in $$list; do \
30 echo "Making $$target in $$subdir"; \
31 if test "$$subdir" = "."; then \
33 local_target="$$target-am"; \
35 local_target="$$target"; \
37 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
38 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
44 for subdir in $$list; do \
45 echo "Making $$target in $$subdir"; \
46 if test "$$subdir" = "."; then \
48 local_target="$$target-am"; \
50 local_target="$$target"; \
52 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
53 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
59 for subdir in $$list; do \
60 echo "Making $$target in $$subdir"; \
61 if test "$$subdir" = "."; then \
63 local_target="$$target-am"; \
65 local_target="$$target"; \
67 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
68 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
72 # distclean the associated packages and include them in the dist
76 tar cf - simgear/metar | (cd $(distdir); tar xvf -)
79 for subdir in $$list; do \
80 echo "Making $$target in $$subdir"; \
81 if test "$$subdir" = "."; then \
83 local_target="$$target-am"; \
85 local_target="$$target"; \
87 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
88 || case "$$amf" in *=*) echo "distclean error ignored...";; *k*) fail=yes;; *) echo "distclean error ignored...";; esac; \
90 tar cf - simgear/metakit | (cd $(distdir); tar xvf -)
94 # Rule to build RPM distribution package
97 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/packages/SOURCES
98 rpm -ba @PACKAGE@.spec