Makefile.in
changeset 1845 548445edaf9f
parent 1774 92354d20a3ce
child 1846 699eaff87cbb
equal deleted inserted replaced
1844:ed2f5e31b357 1845:548445edaf9f
   148 dist $(distfile):
   148 dist $(distfile):
   149 	$(SHELL) $(auxdir)/mkinstalldirs $(distdir)
   149 	$(SHELL) $(auxdir)/mkinstalldirs $(distdir)
   150 	tar cf - $(DIST) | (cd $(distdir); tar xf -)
   150 	tar cf - $(DIST) | (cd $(distdir); tar xf -)
   151 	cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h
   151 	cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h
   152 	rm -rf `find $(distdir) -name .svn`
   152 	rm -rf `find $(distdir) -name .svn`
   153 	rm -f `find $(distdir) -name '.#*'`
   153 	find $(srcdir) \( \
       
   154 	    -name '*~' -o \
       
   155 	    -name '*.bak' -o \
       
   156 	    -name '*.old' -o \
       
   157 	    -name '*.rej' -o \
       
   158 	    -name '*.orig' -o \
       
   159 	    -name '.#*' \) \
       
   160 	    -exec rm -f {} \;
   154 	tar cvf - $(distdir) | gzip --best >$(distfile)
   161 	tar cvf - $(distdir) | gzip --best >$(distfile)
   155 	rm -rf $(distdir)
   162 	rm -rf $(distdir)
   156 
   163 
   157 rpm: $(distfile)
   164 rpm: $(distfile)
   158 	rpmbuild -ta $?
   165 	rpmbuild -ta $?