Fixed bug #171
SDL_config.h is no longer in CVS. Instead, configure will generate it for systems that use configure, and we always copy SDL_config.h.default to SDL_config.h before generating a snapshot or release archive. Also fixed a couple of uninstall issues. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401610
This commit is contained in:
parent
3c6f272957
commit
c68ee88d7a
6 changed files with 68 additions and 61 deletions
18
Makefile.in
18
Makefile.in
|
@ -99,7 +99,7 @@ install-man:
|
|||
$(INSTALL) -m 644 $$src $(mandir)/man3/$$file; \
|
||||
done
|
||||
|
||||
uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-man
|
||||
uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man
|
||||
uninstall-bin:
|
||||
rm -f $(bindir)/sdl-config
|
||||
uninstall-hdrs:
|
||||
|
@ -108,6 +108,7 @@ uninstall-hdrs:
|
|||
rm -f $(includedir)/SDL/$$file; \
|
||||
done
|
||||
rm -f $(includedir)/SDL/SDL_config.h
|
||||
-rmdir $(includedir)/SDL
|
||||
uninstall-lib:
|
||||
$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET)
|
||||
rm -f $(libdir)/$(SDLMAIN_TARGET)
|
||||
|
@ -125,19 +126,25 @@ clean:
|
|||
|
||||
distclean: clean
|
||||
rm -f Makefile include/SDL_config.h sdl-config
|
||||
rm -f include/SDL_config.h sdl-config
|
||||
rm -f SDL.qpg
|
||||
rm -f config.status config.cache config.log libtool $(depend)
|
||||
rm -rf $(srcdir)/autom4te*
|
||||
find $(srcdir) \
|
||||
-name '*~' -o -name '*.bak' -o -name '*.old' -o -name '*.rej' -o \
|
||||
-name '.#*' \
|
||||
find $(srcdir) \( \
|
||||
-name '*~' -o \
|
||||
-name '*.bak' -o \
|
||||
-name '*.old' -o \
|
||||
-name '*.rej' -o \
|
||||
-name '*.orig' -o \
|
||||
-name '.#*' \) \
|
||||
-exec rm -f {} \;
|
||||
cp $(srcdir)/include/SDL_config.h.minimal $(srcdir)/include/SDL_config.h
|
||||
cp $(srcdir)/include/SDL_config.h.default $(srcdir)/include/SDL_config.h
|
||||
if test -f test/Makefile; then (cd test; $(MAKE) $@); fi
|
||||
|
||||
dist $(distfile):
|
||||
$(SHELL) $(auxdir)/mkinstalldirs $(distdir)
|
||||
tar cf - $(DIST) | (cd $(distdir); tar xf -)
|
||||
cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h
|
||||
rm -rf `find $(distdir) -name CVS`
|
||||
rm -f `find $(distdir) -name '.cvsignore'`
|
||||
rm -f `find $(distdir) -name '.#*'`
|
||||
|
@ -154,6 +161,7 @@ snapshot:
|
|||
cvs -d $(CVSROOT) login
|
||||
cvs -d $(CVSROOT) checkout -P SDL12
|
||||
(cd SDL12 && ./autogen.sh && rm -rf autom4te.cache)
|
||||
cp SDL12/include/SDL_config.h.default SDL12/include/SDL_config.h
|
||||
mv SDL12 SDL-1.2
|
||||
tar zcf $(HOME)/SDL-1.2.tar.gz SDL-1.2
|
||||
rm -f $(HOME)/SDL-1.2.zip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue