[Pkg-octave-commit] r1536 - octave-pkg-dev/trunk
Thomas Weber
thomas-guest at alioth.debian.org
Mon Mar 31 07:47:10 UTC 2008
Author: thomas-guest
Date: 2008-03-31 07:47:10 +0000 (Mon, 31 Mar 2008)
New Revision: 1536
Modified:
octave-pkg-dev/trunk/octave-pkg.mk.in
Log:
Move PKG_ADD out of the way and reinstall it later
Modified: octave-pkg-dev/trunk/octave-pkg.mk.in
===================================================================
--- octave-pkg-dev/trunk/octave-pkg.mk.in 2008-03-30 18:36:42 UTC (rev 1535)
+++ octave-pkg-dev/trunk/octave-pkg.mk.in 2008-03-31 07:47:10 UTC (rev 1536)
@@ -41,12 +41,16 @@
.PHONY: install-pkgs
install-pkg:
+ [ -e PKG_ADD ] && mv PKG_ADD PKG_ADD.bak; \
@OCTAVE@ $(octave_options) --eval \
"addpath ('$(shrpkg)/m', '-begin'); \
pkg ('prefix', [pwd(),'/$(debpkg)/$(mpath)'], \
[pwd(),'/$(debpkg)/$(bpath)']); \
pkg ('local_list', [pwd(),'.']); \
pkg ('global_list', [pwd(),'.']); \
+ if (glob('PKG_ADD.bak')), \
+ movefile('PKG_ADD.bak', 'PKG_ADD'); \
+ endif; \
pkg -verbose -nodeps install ."
rm -f $(CURDIR)/$(debpkg)/$(mpath)/$(pkgname)-*/packinfo/COPYING
$(shrpkg)/dh/octave-pkg-helper
More information about the Pkg-octave-commit
mailing list