X-Git-Url: http://rtime.felk.cvut.cz/gitweb/novaboot.git/blobdiff_plain/24568b9cfc5f22da7d768e2c2c3e4f8064b66521..17e526ccf64b3d4bdb42f029ddc0b1939fe65605:/Makefile diff --git a/Makefile b/Makefile index 9ebd017..a84a1b3 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ DESTDIR= PREFIX=/usr all: + $(MAKE) -C server README.md: novaboot pod2markdown $< > $@ @@ -11,6 +12,19 @@ install: install -m 755 novaboot $(DESTDIR)$(PREFIX)/bin install -d $(DESTDIR)$(PREFIX)/share/man/man1/ pod2man novaboot $(DESTDIR)$(PREFIX)/share/man/man1/novaboot.1 + install -d $(DESTDIR)/etc/sudoers.d + 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 + +release: + : gbp dch --release -N $(shell date +%Y%m%d) --commit + : gbp buildpackage --git-tag -b + : debrelease rtime + : git push --follow-tags