phpide
authorMichael Wagner <michael@wagnertech.de>
Tue, 17 Apr 2018 20:32:38 +0000 (22:32 +0200)
committerMichael Wagner <michael@wagnertech.de>
Tue, 17 Apr 2018 20:32:38 +0000 (22:32 +0200)
tools/make/mconfigure
tools/make/rules

index 3bca62a..ecb35a3 100755 (executable)
@@ -20,7 +20,7 @@ function set_build {
                        tag="0.0-TOP"
                fi
                changes=$(git status -s |grep "^ *M") || true
-               if test -z "$changes"
+               if test -n "$changes"
                then
                        tag="${tag}M"
                fi
index d61e224..6d8aff2 100755 (executable)
@@ -26,7 +26,7 @@ build-indep:
 install: 
 
 # Erstellen aller Binärpakete (effektiv ist dies die Kombination der binary-arch- und binary-indep-Ziele)
-binary: debian/tmp/DEBIAN/control binary-arch binary-indep 
+binary: binary-arch binary-indep 
 
 # Erstellen Architektur-abhängiger (Architecture: any) Binärpakete im übergeordneten Verzeichnis
 binary-arch:
@@ -37,7 +37,7 @@ binary-indep: copy ../$(paket)_$(version)-$(build)$(_arch).deb
 copy: debian/$(paket).cp
        debian/$(paket).cp debian/tmp
 
-../$(paket)_$(version)-$(build)$(_arch).deb:
+../$(paket)_$(version)-$(build)$(_arch).deb:debian/tmp/DEBIAN/control
        $(DEB)
        mv debian/tmp.deb ../$(paket)_$(version)-$(build)$(_arch).deb