Compare commits
2 Commits
f79de85d43
...
8b232c5ef5
Author | SHA1 | Date | |
---|---|---|---|
8b232c5ef5
|
|||
d6ca2d7921
|
7
Makefile
7
Makefile
@ -4,6 +4,7 @@ BINDIR=$(CURDIR)/bin
|
|||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
DESTDIR=bin
|
DESTDIR=bin
|
||||||
BUILDDIR=$(CURDIR)/build
|
BUILDDIR=$(CURDIR)/build
|
||||||
|
MANDIR=$(PREFIX)/share/man/man1
|
||||||
|
|
||||||
DEBBUILDDIR=$(BUILDDIR)/deb
|
DEBBUILDDIR=$(BUILDDIR)/deb
|
||||||
DEBTMPLDIR=$(CURDIR)/packaging/debian
|
DEBTMPLDIR=$(CURDIR)/packaging/debian
|
||||||
@ -50,8 +51,11 @@ build:
|
|||||||
clean: deb-clean rpm-clean
|
clean: deb-clean rpm-clean
|
||||||
$(Q) $(RM) $(EXE)
|
$(Q) $(RM) $(EXE)
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
install -p -D -m 0644 lume.1 $(DESTDIR)$(MANDIR)/lume.1
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install: install-man
|
||||||
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/bin/lume
|
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/bin/lume
|
||||||
$(Q) install -p -D -m 0644 .lumerc.sample $(DESTDIR)${PREFIX}/share/lume/lumerc
|
$(Q) install -p -D -m 0644 .lumerc.sample $(DESTDIR)${PREFIX}/share/lume/lumerc
|
||||||
|
|
||||||
@ -69,6 +73,7 @@ deb:
|
|||||||
$(Q) echo "3.0 (quilt)" > $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/source/format
|
$(Q) echo "3.0 (quilt)" > $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/source/format
|
||||||
$(Q) cp $(DEBTMPLDIR)/control $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/control
|
$(Q) cp $(DEBTMPLDIR)/control $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/control
|
||||||
$(Q) cp $(DEBTMPLDIR)/copyright $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/copyright
|
$(Q) cp $(DEBTMPLDIR)/copyright $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/copyright
|
||||||
|
$(Q) cp $(DEBTMPLDIR)/lume.manpages $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/lume.manpages
|
||||||
$(Q) cd $(DEBBUILDDIR)/$(DEBORIGSRCDIR) && dpkg-buildpackage -us -uc
|
$(Q) cd $(DEBBUILDDIR)/$(DEBORIGSRCDIR) && dpkg-buildpackage -us -uc
|
||||||
$(Q) mv $(DEBBUILDDIR)/*.dsc $(BUILDDIR)
|
$(Q) mv $(DEBBUILDDIR)/*.dsc $(BUILDDIR)
|
||||||
$(Q) mv $(DEBBUILDDIR)/*.changes $(BUILDDIR)
|
$(Q) mv $(DEBBUILDDIR)/*.changes $(BUILDDIR)
|
||||||
|
1
packaging/debian/lume.manpages
Normal file
1
packaging/debian/lume.manpages
Normal file
@ -0,0 +1 @@
|
|||||||
|
lume.1
|
@ -25,6 +25,7 @@ Source: %{name}-%{version}.tar.xz
|
|||||||
%{_bindir}/lume
|
%{_bindir}/lume
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
/usr/share/lume/lumerc
|
/usr/share/lume/lumerc
|
||||||
|
%doc %{_mandir}/man1/lume.1.*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user