bumblebee-status/Makefile
Tobias Witek fc529e1d23 [build] Add preliminary debian package build
Add a (very) flimsical debian package build via Makefile ("make deb").

see #342
2019-01-02 14:40:23 +01:00

18 lines
655 B
Makefile

DEBIAN_ROOT = build/debian/bumblebee-status/
deb:
mkdir -p $(DEBIAN_ROOT)/DEBIAN
mkdir -p $(DEBIAN_ROOT)/usr/share/bumblebee-status/modules
mkdir -p $(DEBIAN_ROOT)/usr/share/bumblebee-status/themes
cp build/debian/control $(DEBIAN_ROOT)/DEBIAN/
cp bumblebee-status $(DEBIAN_ROOT)/usr/share/bumblebee-status/
cp bumblebee/modules/*.py $(DEBIAN_ROOT)/usr/share/bumblebee-status/modules/
cp -r themes/* $(DEBIAN_ROOT)/usr/share/bumblebee-status/themes
cp LICENSE $(DEBIAN_ROOT)/usr/share/bumblebee-status/
dpkg-deb --build $(DEBIAN_ROOT)
cp build/debian/bumblebee-status.deb .
clean:
rm -rf $(DEBIAN_ROOT)
rm -f build/debian/*.deb
rm -f *.deb