Mercurial > sdl-ios-xcode
comparison Makefile.am @ 138:69ee0b88b615
Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 09 Aug 2001 05:31:32 +0000 |
parents | d49e9d023119 |
children | e92aa316c517 |
comparison
equal
deleted
inserted
replaced
137:4738ea544d7a | 138:69ee0b88b615 |
---|---|
34 CWprojects.sea.bin \ | 34 CWprojects.sea.bin \ |
35 PBProjects.tar.gz \ | 35 PBProjects.tar.gz \ |
36 WhatsNew \ | 36 WhatsNew \ |
37 docs.html \ | 37 docs.html \ |
38 sdl.m4 \ | 38 sdl.m4 \ |
39 SDL.spec \ | |
39 autogen.sh \ | 40 autogen.sh \ |
40 strip_fPIC.sh | 41 strip_fPIC.sh |
41 | 42 |
42 # M4 macro file for inclusion with autoconf | 43 # M4 macro file for inclusion with autoconf |
43 m4datadir = $(datadir)/aclocal | 44 m4datadir = $(datadir)/aclocal |
46 # Rule to build tar-gzipped distribution package | 47 # Rule to build tar-gzipped distribution package |
47 $(PACKAGE)-$(VERSION).tar.gz: dist | 48 $(PACKAGE)-$(VERSION).tar.gz: dist |
48 | 49 |
49 # Rule to build RPM distribution package | 50 # Rule to build RPM distribution package |
50 rpm: $(PACKAGE)-$(VERSION).tar.gz | 51 rpm: $(PACKAGE)-$(VERSION).tar.gz |
51 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES | 52 rpm -ta $(PACKAGE)-$(VERSION).tar.gz |
52 rpm -ba SDL.spec | |
53 | 53 |
54 # Rule to rebuild the export lists for BeOS, MacOS and Win32. | 54 # Rule to rebuild the export lists for BeOS, MacOS and Win32. |
55 exports: | 55 exports: |
56 (cd src/main/beos/exports; $(MAKE)) | 56 (cd src/main/beos/exports; $(MAKE)) |
57 (cd src/main/macos/exports; $(MAKE)) | 57 (cd src/main/macos/exports; $(MAKE)) |
77 -ldconfig | 77 -ldconfig |
78 | 78 |
79 # Grab the test programs for the distribution: | 79 # Grab the test programs for the distribution: |
80 dist-hook: | 80 dist-hook: |
81 if test -f test/Makefile; then (cd test; make distclean); fi | 81 if test -f test/Makefile; then (cd test; make distclean); fi |
82 cp -rp test $(distdir) | 82 cp -rp $(srcdir)/test $(distdir) |
83 rm -rf `find $(distdir) -type d -name CVS -print` | 83 rm -rf `find $(distdir) -type d -name CVS -print` |
84 | 84 |
85 # Create a CVS snapshot that people can run update -d on | 85 # Create a CVS snapshot that people can run update -d on |
86 CVSROOT = :pserver:guest@libsdl.org:/home/slouken/libsdl.org/cvs | 86 CVSROOT = :pserver:guest@libsdl.org:/home/slouken/libsdl.org/cvs |
87 snapshot: | 87 snapshot: |