2018-09-06 22:10:40 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
export DH_VERBOSE = 1
|
|
|
|
|
|
|
|
BUILDDIR = release
|
|
|
|
|
|
|
|
build:
|
|
|
|
mkdir $(BUILDDIR)
|
|
|
|
cd $(BUILDDIR); cmake -DCMAKE_INSTALL_PREFIX:PATH=../debian/tmp/usr -DCMAKE_BUILD_TYPE=RELEASE ..
|
|
|
|
make -C $(BUILDDIR)
|
|
|
|
|
|
|
|
binary: binary-indep binary-arch
|
|
|
|
|
|
|
|
binary-indep:
|
|
|
|
|
|
|
|
binary-arch:
|
|
|
|
cd $(BUILDDIR); cmake -P cmake_install.cmake
|
|
|
|
mkdir debian/tmp/DEBIAN
|
|
|
|
cp debian/postinst debian/tmp/DEBIAN
|
2018-09-20 20:13:04 +00:00
|
|
|
cp debian/postrm debian/tmp/DEBIAN
|
2018-09-06 22:10:40 +00:00
|
|
|
dpkg-gencontrol -pmympd
|
|
|
|
dpkg --build debian/tmp ..
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(BUILDDIR)
|
|
|
|
|
|
|
|
.PHONY: binary binary-arch binary-indep clean
|