X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/160d72dfc4b7fbcd9f075fe71fd607e43c7b48c7..ff2607419be96666a6e4eff72a86a5341335d216:/tools/make/rules diff --git a/tools/make/rules b/tools/make/rules index 13b9e20..9ddc638 100755 --- a/tools/make/rules +++ b/tools/make/rules @@ -5,6 +5,7 @@ # defile default operations NOP = @echo "No operation for target $@" DEB = fakeroot dpkg-deb --build debian/tmp +INSERT_BUILD = /usr/share/mbuild/insert_build.sh include debian/rules.pre @@ -41,8 +42,9 @@ binary-arch: # Erstellen Architektur-unabhängiger (Architecture: all) Binärpakete im übergeordneten Verzeichnis binary-indep: copy ../$(paket)_$(version)-$(build)$(_arch).deb -version: $(TARGET) - $(INSERT_BUILD) $(TARGET) $(build) +version: ~/build/$(TARGET) + $(INSERT_BUILD) ~/build/$(TARGET) $(build) + cp ~/build/*$(build)* ../ ../build: mkdir ../build @@ -60,7 +62,7 @@ copy: debian/$(paket).cp debian/tmp/DEBIAN/control: debian/control debian/changelog dpkg-gencontrol -debian/changelog: debian/$(paket).changelog debian/setenv.sh +debian/changelog: debian/$(paket).changelog debian/rules.pre sed "s/%BUILD%/$(build)/" debian/$(paket).changelog > debian/changelog # echo "${pwd} (${build}) unstable; urgency=medium" > debian/changelog # echo " * generated by mbuild" >> debian/changelog