diff --git a/debian/Makefile.to_fakebuild_tar_package b/debian/Makefile.to_fakebuild_tar_package new file mode 100644 index 0000000..3ff8cf8 --- /dev/null +++ b/debian/Makefile.to_fakebuild_tar_package @@ -0,0 +1,5 @@ +install: + echo "installing files" + mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share + cp -r ../release/usr/local/bin $(DESTDIR)/usr + cp -r ../release/usr/local/share $(DESTDIR)/usr diff --git a/debian/rules b/debian/rules index 0b50292..dc985d2 100755 --- a/debian/rules +++ b/debian/rules @@ -14,8 +14,10 @@ export DH_OPTIONS=-v # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +MAKEFILE_TO_FAKEBUILD_TAR_PACKAGE := debian/Makefile.to_fakebuild_tar_package + build: - cp debian/Makefile . + cp $(MAKEFILE_TO_FAKEBUILD_TAR_PACKAGE) Makefile clean: rm -f Makefile