X-Git-Url: https://git.ao2.it/kboot-utils.git/blobdiff_plain/a59c14b051419610776cd7c9a35831c8864739ac..refs/heads/master:/Makefile diff --git a/Makefile b/Makefile index 8529cb3..7c13e95 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,16 @@ -PREFIX ?= /usr -SYSCONFDIR ?= /etc +prefix ?= /usr +sysconfdir ?= /etc all: +clean: install: - echo ${DESTDIR} - install -m 0755 -d $(DESTDIR)$(PREFIX)/lib/kboot/ - install -m 0644 kboot-mkconfig_lib $(DESTDIR)$(PREFIX)/lib/kboot/kboot-mkconfig_lib - install -m 0755 kboot-mkconfig $(DESTDIR)$(PREFIX)/sbin/kboot-mkconfig - install -m 0644 default.kboot $(DESTDIR)$(SYSCONFDIR)/default/kboot + install -d $(DESTDIR)$(prefix)/share/kboot/ + install -m 0644 kboot-mkconfig_lib $(DESTDIR)$(prefix)/share/kboot/kboot-mkconfig_lib + install -d $(DESTDIR)$(prefix)/sbin + install -m 0755 kboot-mkconfig $(DESTDIR)$(prefix)/sbin/kboot-mkconfig + install -d $(DESTDIR)$(sysconfdir)/default + install -m 0644 default.kboot $(DESTDIR)$(sysconfdir)/default/kboot + +changelog: + git log --pretty="format:%ai %aN <%aE>%n%n%x09* %s%d%n" > ChangeLog