]> wagnertech.de Git - projects.git/blobdiff - tools/make/rules
posaune
[projects.git] / tools / make / rules
index 1b2e042e2cd11f1b389ed635769b591e2f33d7a4..e84acf9f8718aa934dd4521a131eb8dad6b30e70 100755 (executable)
@@ -9,14 +9,13 @@ INSERT_BUILD = /usr/share/mbuild/insert_build.sh
 RSYNC_OPT = -av --exclude="build" --exclude="debian/tmp" --exclude="Packages" --exclude="*Aktuell" --exclude=".*"
 
 std_inst_tgt = debian/tmp/usr/share/doc/$(paket)/copyright debian/tmp/usr/share/doc/$(paket)/README.debian
-changelog_source = $(paket).changelog
+changelog_source = debian/$(paket).changelog
 
 include debian/rules.pre
 
 .PHONY: build
 
-default:
-       echo "no default rule available"
+default: $(BUILD)
 
 # Löschen aller kompilierten, erzeugten und nicht benötigten Dateien im Bauverzeichnis
 clean:
@@ -27,6 +26,11 @@ build: ../build/debian/$(paket).build sync
        cd ../build ; debian/$(paket).build
        # Build succeeded
 
+nobuild:
+       # No build required
+
+install:
+       debian/$(paket).cp $(INSTALL_DIR)
 pack: $(PACK)
        # packing succeeded
 
@@ -60,6 +64,7 @@ sync: ../build
 
 copy: debian/$(paket).cp
        debian/$(paket).cp debian/tmp
+       create-conffiles debian/tmp
        touch debian/tmp
 
 ../$(paket)_$(version)-$(build)_$(arch).deb:debian/tmp/DEBIAN/control $(std_inst_tgt) $(add_inst_tgt) debian/tmp