comparison Makefile.am @ 754:623b453a3219

Fixed "dist" make target for newer versions of automake
author Sam Lantinga <slouken@libsdl.org>
date Sun, 14 Dec 2003 06:25:53 +0000
parents f90d80d68071
children 26fe9256c48b
comparison
equal deleted inserted replaced
753:b14fdadd8311 754:623b453a3219
67 67
68 # Rule to rebuild the export lists for BeOS, MacOS and Win32. 68 # Rule to rebuild the export lists for BeOS, MacOS and Win32.
69 exports: 69 exports:
70 (cd src/main/beos/exports; $(MAKE)) 70 (cd src/main/beos/exports; $(MAKE))
71 (cd src/main/macos/exports; $(MAKE)) 71 (cd src/main/macos/exports; $(MAKE))
72 (cd src/main/macosx/exports; $(MAKE))
72 (cd src/main/win32/exports; $(MAKE)) 73 (cd src/main/win32/exports; $(MAKE))
73 74
74 # Rule to build the Project Builder archive in MacOS X 75 # Rule to build the Project Builder archive in MacOS X
75 PBProjects.tar.gz: 76 PBProjects.tar.gz:
76 rm -f `find . -name .DS_Store` 77 rm -f `find . -name .DS_Store`
77 if [ -d PBProjects ]; then \ 78 if [ -d PBProjects ]; then \
78 tar zcvf $@ PBProjects; \ 79 tar zcvf $@ PBProjects; \
79 fi 80 fi
80
81 # Rule to force automake to rebuild the library
82 changed:
83 @echo "This build target is no longer necessary"
84 81
85 # Rule to install the libraries only - prevent rebuilding apps 82 # Rule to install the libraries only - prevent rebuilding apps
86 install-lib: 83 install-lib:
87 cd src && $(MAKE) install-libLTLIBRARIES 84 cd src && $(MAKE) install-libLTLIBRARIES
88 85
91 -ldconfig 88 -ldconfig
92 89
93 # Grab the test programs for the distribution: 90 # Grab the test programs for the distribution:
94 dist-hook: 91 dist-hook:
95 if test -f test/Makefile; then (cd test; make distclean); fi 92 if test -f test/Makefile; then (cd test; make distclean); fi
93 rm -rf $(srcdir)/test/autom4te*
96 cp -rp $(srcdir)/test $(distdir) 94 cp -rp $(srcdir)/test $(distdir)
97 rm -rf `find $(distdir) -type d -name CVS -print` 95 rm -rf `find $(distdir) -type d -name CVS -print`
98 96
99 # Create a CVS snapshot that people can run update -d on 97 # Create a CVS snapshot that people can run update -d on
100 CVSROOT = :pserver:guest@libsdl.org:/home/sdlweb/libsdl.org/cvs 98 CVSROOT = :pserver:guest@libsdl.org:/home/sdlweb/libsdl.org/cvs