No easy way of getting git status, so remove fancy checks.
This commit is contained in:
		
							
								
								
									
										29
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								Makefile
									
									
									
									
									
								
							| @@ -16,25 +16,16 @@ install:: | |||||||
| 	ln -snf ../../$(RC_LIB)/sh/net.sh $(DESTDIR)/etc/init.d/$(NET_LO) || exit $$? | 	ln -snf ../../$(RC_LIB)/sh/net.sh $(DESTDIR)/etc/init.d/$(NET_LO) || exit $$? | ||||||
| 	ln -snf ../../$(RC_LIB)/sh/functions.sh $(DESTDIR)/etc/init.d || exit $$? | 	ln -snf ../../$(RC_LIB)/sh/functions.sh $(DESTDIR)/etc/init.d || exit $$? | ||||||
|  |  | ||||||
| diststatus: | clean:: | ||||||
| 	if test -d .svn ; then \ | 	rm -f *.bz2 | ||||||
| 		svnfiles=`svn status 2>&1 | egrep -v '^(U|P)'` ; \ |  | ||||||
| 		if test "x$$svnfiles" != "x" ; then \ |  | ||||||
| 			echo "Refusing to package tarball until svn is in sync:" ; \ |  | ||||||
| 			echo "$$svnfiles" ; \ |  | ||||||
| 			echo "make distforce to force packaging" ; \ |  | ||||||
| 			exit 1 ; \ |  | ||||||
| 		fi \ |  | ||||||
| 	fi  |  | ||||||
|  |  | ||||||
| distit: | dist: | ||||||
| 	rm -rf /tmp/$(PKG) | 	$(INSTALL) -d /tmp/$(PKG) | ||||||
| 	svn export . /tmp/$(PKG) | 	cp -RPp . /tmp/$(PKG) | ||||||
| 	$(MAKE) -C /tmp/$(PKG) clean | 	(cd /tmp/$(PKG); $(MAKE) clean) | ||||||
| 	tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG) | 	rm -rf /tmp/$(PKG)/*.bz2 /tmp/$(PKG)/.git /tmp/$(PKG)/test | ||||||
| 	rm -rf /tmp/$(PKG) | 	tar cvjpf $(PKG).tar.bz2 -C /tmp $(PKG)  | ||||||
| 	ls -l /tmp/$(PKG).tar.bz2 | 	rm -rf /tmp/$(PKG)  | ||||||
|  | 	ls -l $(PKG).tar.bz2 | ||||||
| dist: diststatus distit |  | ||||||
|  |  | ||||||
| # vim: set ts=4 : | # vim: set ts=4 : | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user