Search
lxdream.org :: lxdream :: r749:f06c5a12903a
lxdream 0.9.1
released Jun 29
Download Now
changeset749:f06c5a12903a
parent748:4fa68ea01d29
child750:af3b7e6c85ff
authornkeynes
dateSat Jul 19 02:34:11 2008 +0000 (11 years ago)
Fix make clean target
And therefore (finally) fix the distcheck target overall
Makefile.am
Makefile.in
src/Makefile.am
src/Makefile.in
test/Makefile.in
1.1 --- a/Makefile.am Sat Jul 19 00:56:54 2008 +0000
1.2 +++ b/Makefile.am Sat Jul 19 02:34:11 2008 +0000
1.3 @@ -11,7 +11,7 @@
1.4 EXTRA_DIST = autogen.sh lxdream.pod bundlelibs.pl
1.5
1.6 dist_sysconf_DATA = lxdreamrc
1.7 -
1.8 +CLEANFILES = lxdream.1
1.9 man_MANS = lxdream.1
1.10
1.11 lxdream.1: lxdream.pod
1.12 @@ -32,6 +32,9 @@
1.13 uninstall-local:
1.14 @$(NORMAL_UNINSTALL)
1.15 rm -rf $(DESTDIR)$(datadir)/pixmaps
1.16 +
1.17 +clean-local:
1.18 + rm -rf $(BUNDLE)
1.19
1.20 dist-hook:
1.21 if test -d $(srcdir)/pixmaps; then \
2.1 --- a/Makefile.in Sat Jul 19 00:56:54 2008 +0000
2.2 +++ b/Makefile.in Sat Jul 19 02:34:11 2008 +0000
2.3 @@ -252,6 +252,7 @@
2.4 SUBDIRS = src po $(TEST_SUBDIR)
2.5 EXTRA_DIST = autogen.sh lxdream.pod bundlelibs.pl
2.6 dist_sysconf_DATA = lxdreamrc
2.7 +CLEANFILES = lxdream.1
2.8 man_MANS = lxdream.1
2.9 all: config.h
2.10 $(MAKE) $(AM_MAKEFLAGS) all-recursive
2.11 @@ -676,6 +677,7 @@
2.12 mostlyclean-generic:
2.13
2.14 clean-generic:
2.15 + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
2.16
2.17 distclean-generic:
2.18 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
2.19 @@ -685,7 +687,7 @@
2.20 @echo "it deletes files that may require special tools to rebuild."
2.21 clean: clean-recursive
2.22
2.23 -clean-am: clean-generic mostlyclean-am
2.24 +clean-am: clean-generic clean-local mostlyclean-am
2.25
2.26 distclean: distclean-recursive
2.27 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
2.28 @@ -738,10 +740,10 @@
2.29 uninstall-man: uninstall-man1
2.30
2.31 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local \
2.32 - am--refresh check check-am clean clean-generic clean-recursive \
2.33 - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
2.34 - dist-hook dist-shar dist-tarZ dist-zip distcheck distclean \
2.35 - distclean-generic distclean-hdr distclean-recursive \
2.36 + am--refresh check check-am clean clean-generic clean-local \
2.37 + clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \
2.38 + dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \
2.39 + distclean distclean-generic distclean-hdr distclean-recursive \
2.40 distclean-tags distcleancheck distdir distuninstallcheck dvi \
2.41 dvi-am html html-am info info-am install install-am \
2.42 install-data install-data-am install-data-local \
2.43 @@ -774,6 +776,9 @@
2.44 @$(NORMAL_UNINSTALL)
2.45 rm -rf $(DESTDIR)$(datadir)/pixmaps
2.46
2.47 +clean-local:
2.48 + rm -rf $(BUNDLE)
2.49 +
2.50 dist-hook:
2.51 if test -d $(srcdir)/pixmaps; then \
2.52 mkdir $(distdir)/pixmaps; \
3.1 --- a/src/Makefile.am Sat Jul 19 00:56:54 2008 +0000
3.2 +++ b/src/Makefile.am Sat Jul 19 02:34:11 2008 +0000
3.3 @@ -22,7 +22,10 @@
3.4 version.c: checkversion
3.5
3.6 TESTS = test/testxlt
3.7 -BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c pvr2/gl_slsrc.c drivers/mac_keymap.h version.c
3.8 +BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c sh4/sh4stat.c \
3.9 + pvr2/gl_slsrc.c drivers/mac_keymap.h version.c
3.10 +CLEANFILES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c sh4/sh4stat.c \
3.11 + pvr2/gl_slsrc.c drivers/mac_keymap.h version.c
3.12
3.13 #all-am: checkversion
3.14
4.1 --- a/src/Makefile.in Sat Jul 19 00:56:54 2008 +0000
4.2 +++ b/src/Makefile.in Sat Jul 19 02:34:11 2008 +0000
4.3 @@ -385,7 +385,12 @@
4.4 EXTRA_DIST = drivers/genkeymap.pl checkver.pl
4.5 AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE
4.6 TESTS = test/testxlt
4.7 -BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c pvr2/gl_slsrc.c drivers/mac_keymap.h version.c
4.8 +BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c sh4/sh4stat.c \
4.9 + pvr2/gl_slsrc.c drivers/mac_keymap.h version.c
4.10 +
4.11 +CLEANFILES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c sh4/sh4stat.c \
4.12 + pvr2/gl_slsrc.c drivers/mac_keymap.h version.c
4.13 +
4.14
4.15 #all-am: checkversion
4.16 gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
4.17 @@ -1989,6 +1994,7 @@
4.18 mostlyclean-generic:
4.19
4.20 clean-generic:
4.21 + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
4.22
4.23 distclean-generic:
4.24 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
5.1 --- a/test/Makefile.in Sat Jul 19 00:56:54 2008 +0000
5.2 +++ b/test/Makefile.in Sat Jul 19 02:34:11 2008 +0000
5.3 @@ -138,7 +138,9 @@
5.4
5.5 .PHONY : clean
5.6 clean:
5.7 - rm -f *.o *.so *.ao *.ac *.bin mapleid ide readmem dumpasic
5.8 + rm -f *.o *.so *.ao *.ac *.bin sh4/*.so mapleid ide readmem dumpasic \
5.9 + testsh4 testta testdisp testregs testide testmath testmmu \
5.10 + testrend testspu dcflash.rom
5.11
5.12 distclean: clean
5.13 rm -f Makefile
.