]> rtime.felk.cvut.cz Git - novaboot.git/blobdiff - Makefile
Update changelog for 20220425a release
[novaboot.git] / Makefile
index 0a37bf739577397c3b05f9b5f36a12401463c693..026048da383553c44bdcc98619d210ab3cae6f67 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ DESTDIR=
 PREFIX=/usr
 
 all:
+       $(MAKE) -C server
 
 README.md: novaboot
        pod2markdown $< > $@
@@ -15,6 +16,9 @@ install:
        install -m 440 sudoers.novaboot $(DESTDIR)/etc/sudoers.d/novaboot
        install -d $(DESTDIR)/etc/novaboot.d
        install -m 644 etc.novaboot.txt $(DESTDIR)/etc/novaboot.d/README.txt
+ifneq ($(INSTALL_SERVER),)
+       $(MAKE) -C server install PREFIX=$(PREFIX)
+endif
 
 test:
        $(MAKE) -C tests
@@ -24,3 +28,7 @@ release:
        : gbp buildpackage --git-tag -b
        : debrelease rtime
        : git push --follow-tags
+
+snapshot:
+       : gbp dch --snapshot --ignore-branch
+       : DEB_BUILD_OPTIONS=nocheck gbp buildpackage -b --git-ignore-new --git-ignore-branch