mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-25 02:20:27 +00:00
82029ce39d
Fix: moved pics directory to /var/lib/mympd
27 lines
544 B
Makefile
Executable File
27 lines
544 B
Makefile
Executable File
#!/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
|
|
cp debian/postrm debian/tmp/DEBIAN
|
|
dpkg-gencontrol -pmympd
|
|
dpkg --build debian/tmp ..
|
|
|
|
clean:
|
|
rm -rf $(BUILDDIR)
|
|
|
|
.PHONY: binary binary-arch binary-indep clean
|