[PD-cvs] packages/linux_make Makefile,1.7,1.8

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sat Feb 18 20:46:41 CET 2006


Update of /cvsroot/pure-data/packages/linux_make
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13973

Modified Files:
	Makefile 
Log Message:
added some handy extra targets for cleaning up after the package build and testing the package once its built

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/packages/linux_make/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Makefile	27 Dec 2005 09:20:58 -0000	1.7
--- Makefile	18 Feb 2006 19:46:39 -0000	1.8
***************
*** 104,107 ****
--- 104,110 ----
  	mv -i tarbz2Makefile $(DESTDIR)$(prefix)/Makefile
  
+ installer_clean:
+ 	chmod -R +w $(packages_src)/linux_make/build
+ 	rm -rf $(packages_src)/linux_make/build
  
  
***************
*** 112,119 ****
  #==============================================================================#
  
! clean: 	
  	cd $(packages_src) && make $(DEST_PATHS) clean
  
  
  
  test_locations:
--- 115,126 ----
  #==============================================================================#
  
! clean: installer_clean
  	cd $(packages_src) && make $(DEST_PATHS) clean
  
  
+ test_package:
+ 	cd /tmp && tar xjf $(DESTDIR)/$(PACKAGE_NAME).tar.bz2
+ 	make -C /tmp/$(PACKAGE_NAME) prefix=/tmp/usr/local install
+ 	make -C /tmp/$(PACKAGE_NAME) prefix=/tmp/usr/local uninstall
  
  test_locations:





More information about the Pd-cvs mailing list