Makefile.in
changeset 1603 64710b9f3eeb
parent 1580 dc4bcfeb927e
child 1622 5bbfc3e20e10
     1.1 --- a/Makefile.in	Thu Mar 23 17:31:12 2006 +0000
     1.2 +++ b/Makefile.in	Thu Mar 23 21:28:33 2006 +0000
     1.3 @@ -99,7 +99,7 @@
     1.4  	    $(INSTALL) -m 644 $$src $(mandir)/man3/$$file; \
     1.5  	done
     1.6  
     1.7 -uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-man
     1.8 +uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man
     1.9  uninstall-bin:
    1.10  	rm -f $(bindir)/sdl-config
    1.11  uninstall-hdrs:
    1.12 @@ -108,6 +108,7 @@
    1.13  	    rm -f $(includedir)/SDL/$$file; \
    1.14  	done
    1.15  	rm -f $(includedir)/SDL/SDL_config.h
    1.16 +	-rmdir $(includedir)/SDL
    1.17  uninstall-lib:
    1.18  	$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET)
    1.19  	rm -f $(libdir)/$(SDLMAIN_TARGET)
    1.20 @@ -125,19 +126,25 @@
    1.21  
    1.22  distclean: clean
    1.23  	rm -f Makefile include/SDL_config.h sdl-config
    1.24 +	rm -f include/SDL_config.h sdl-config
    1.25  	rm -f SDL.qpg
    1.26  	rm -f config.status config.cache config.log libtool $(depend)
    1.27  	rm -rf $(srcdir)/autom4te*
    1.28 -	find $(srcdir) \
    1.29 -	    -name '*~' -o -name '*.bak' -o -name '*.old' -o -name '*.rej' -o \
    1.30 -	    -name '.#*' \
    1.31 +	find $(srcdir) \( \
    1.32 +	    -name '*~' -o \
    1.33 +	    -name '*.bak' -o \
    1.34 +	    -name '*.old' -o \
    1.35 +	    -name '*.rej' -o \
    1.36 +	    -name '*.orig' -o \
    1.37 +	    -name '.#*' \) \
    1.38  	    -exec rm -f {} \;
    1.39 -	cp $(srcdir)/include/SDL_config.h.minimal $(srcdir)/include/SDL_config.h
    1.40 +	cp $(srcdir)/include/SDL_config.h.default $(srcdir)/include/SDL_config.h
    1.41  	if test -f test/Makefile; then (cd test; $(MAKE) $@); fi
    1.42  
    1.43  dist $(distfile):
    1.44  	$(SHELL) $(auxdir)/mkinstalldirs $(distdir)
    1.45  	tar cf - $(DIST) | (cd $(distdir); tar xf -)
    1.46 +	cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h
    1.47  	rm -rf `find $(distdir) -name CVS`
    1.48  	rm -f `find $(distdir) -name '.cvsignore'`
    1.49  	rm -f `find $(distdir) -name '.#*'`
    1.50 @@ -154,6 +161,7 @@
    1.51  	cvs -d $(CVSROOT) login
    1.52  	cvs -d $(CVSROOT) checkout -P SDL12
    1.53  	(cd SDL12 && ./autogen.sh && rm -rf autom4te.cache)
    1.54 +	cp SDL12/include/SDL_config.h.default SDL12/include/SDL_config.h
    1.55  	mv SDL12 SDL-1.2
    1.56  	tar zcf $(HOME)/SDL-1.2.tar.gz SDL-1.2
    1.57  	rm -f $(HOME)/SDL-1.2.zip