Draft .deb build system ready

This commit is contained in:
Dmitry Maksyoma 2020-12-29 20:47:16 +13:00
parent dabf7d4d5e
commit f1291cb520
2 changed files with 8 additions and 1 deletions

View File

@ -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

4
debian/rules vendored
View File

@ -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