/[gentoo-src]/build-docbook-catalog/Makefile
Gentoo

Contents of /build-docbook-catalog/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Mar 27 22:36:21 2012 UTC (3 years ago) by vapier
Branch: MAIN
add a makefile to simplify build/install steps

1 PN = build-docbook-catalog
2 PV = $(shell awk '/^\# .Header:/{print $$4;exit}' build-docbook-catalog)
3 P = $(PN)-$(PV)
4
5 all:
6
7 SYSCONFDIR = /etc
8 CONFDIR = $(SYSCONFDIR)/xml
9 PREFIX = /usr
10 SBINDIR = $(PREFIX)/sbin
11
12 install:
13 mkdir -p $(DESTDIR)$(CONFDIR) $(DESTDIR)$(SBINDIR)
14 touch $(DESTDIR)$(CONFDIR)/.keep
15 install -m 755 build-docbook-catalog $(DESTDIR)$(SBINDIR)
16
17 dist:
18 rm -rf $(P)
19 mkdir -p $(P)
20 cp -pPR build-docbook-catalog Makefile README $(P)/
21 tar cf - $(P) | xz -9 > $(P).tar.xz
22 rm -rf $(P)
23
24 .PHONY: all clean dist install

  ViewVC Help
Powered by ViewVC 1.1.20