Makefile.in
changeset 1651 0a9be1057095
parent 1634 14f302c5b32c
child 1659 14717b52abc0
child 1750 025e1a273f47
equal deleted inserted replaced
1650:ee4f2d77206f 1651:0a9be1057095
   148 
   148 
   149 dist $(distfile):
   149 dist $(distfile):
   150 	$(SHELL) $(auxdir)/mkinstalldirs $(distdir)
   150 	$(SHELL) $(auxdir)/mkinstalldirs $(distdir)
   151 	tar cf - $(DIST) | (cd $(distdir); tar xf -)
   151 	tar cf - $(DIST) | (cd $(distdir); tar xf -)
   152 	cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h
   152 	cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h
   153 	rm -rf `find $(distdir) -name CVS`
   153 	rm -rf `find $(distdir) -name .svn`
   154 	rm -f `find $(distdir) -name '.cvsignore'`
       
   155 	rm -f `find $(distdir) -name '.#*'`
   154 	rm -f `find $(distdir) -name '.#*'`
   156 	rmdir `find $(distdir) -type d -empty`
   155 	rmdir `find $(distdir) -type d -empty`
   157 	tar cvf - $(distdir) | gzip --best >$(distfile)
   156 	tar cvf - $(distdir) | gzip --best >$(distfile)
   158 	rm -rf $(distdir)
   157 	rm -rf $(distdir)
   159 
   158 
   160 rpm: $(distfile)
   159 rpm: $(distfile)
   161 	rpmbuild -ta $?
   160 	rpmbuild -ta $?
   162 
   161 
   163 # Create a CVS snapshot that people can run update -d on
   162 # Create a SVN snapshot that people can run update on
   164 CVSROOT = :pserver:guest@libsdl.org:/home/sdlweb/libsdl.org/cvs
       
   165 snapshot:
   163 snapshot:
   166 	cvs -d $(CVSROOT) login
   164 	svn co svn://libsdl.org/trunk/SDL
   167 	cvs -d $(CVSROOT) checkout -P SDL12
   165 	(cd SDL && ./autogen.sh && rm -rf autom4te.cache)
   168 	(cd SDL12 && ./autogen.sh && rm -rf autom4te.cache)
   166 	cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h
   169 	cp SDL12/include/SDL_config.h.default SDL12/include/SDL_config.h
   167 	mv SDL SDL-1.2
   170 	mv SDL12 SDL-1.2
       
   171 	tar zcf $(HOME)/SDL-1.2.tar.gz SDL-1.2
   168 	tar zcf $(HOME)/SDL-1.2.tar.gz SDL-1.2
   172 	rm -f $(HOME)/SDL-1.2.zip
   169 	rm -f $(HOME)/SDL-1.2.zip
   173 	zip -r $(HOME)/SDL-1.2.zip SDL-1.2
   170 	zip -r $(HOME)/SDL-1.2.zip SDL-1.2
   174 	rm -rf SDL-1.2
   171 	rm -rf SDL-1.2