diff options
Diffstat (limited to 'packages/linux_make/Makefile')
-rwxr-xr-x | packages/linux_make/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile index e1f3eb28..f59c7e43 100755 --- a/packages/linux_make/Makefile +++ b/packages/linux_make/Makefile @@ -146,8 +146,10 @@ deb: $(bindir) # debian packaging test -d $(DESTDIR)/DEBIAN || mkdir -p $(DESTDIR)/DEBIAN cp $(packages_src)/linux_make/debian/control $(DESTDIR)/DEBIAN - cp $(packages_src)/linux_make/debian/pd-extended.postrm $(DESTDIR)/DEBIAN - cp $(packages_src)/linux_make/debian/pd-extended.postinst $(DESTDIR)/DEBIAN + install -p -m0755 $(packages_src)/linux_make/debian/pd-extended.prerm \ + $(packages_src)/linux_make/debian/pd-extended.postrm \ + $(packages_src)/linux_make/debian/pd-extended.postinst \ + $(DESTDIR)/DEBIAN # set build architecture and version for the package sed -i 's|^Version:.*|Version: $(DEB_PD_VERSION)|' \ $(DESTDIR)/DEBIAN/control |