Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/conf-update:master commit in: /
Date: Mon, 06 Feb 2012 10:42:26
Message-Id: f66bad59d20e6a10b8cb1d0808f6c6004b8628fa.nimiux@gentoo
1 commit: f66bad59d20e6a10b8cb1d0808f6c6004b8628fa
2 Author: José María Alonso <nimiux.gentoo.org>
3 AuthorDate: Mon Feb 6 10:40:45 2012 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 6 10:40:45 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/conf-update.git;a=commit;h=f66bad59
7
8 Added install phase
9
10 ---
11 Makefile | 10 +++++++++-
12 1 files changed, 9 insertions(+), 1 deletions(-)
13
14 diff --git a/Makefile b/Makefile
15 index 5ff7614..b8bbb7a 100644
16 --- a/Makefile
17 +++ b/Makefile
18 @@ -21,8 +21,16 @@ conf-update.h: core.h helpers.h index.h modified.h config.h
19 conf-update: core.o helpers.o conf-update.o index.o modified.o config.o
20 $(CC) $(LDFLAGS) -o conf-update config.o core.o helpers.o conf-update.o index.o modified.o $$(pkg-config --libs glib-2.0) -lncurses -lmenu -lcrypto
21
22 -.PHONY: clean
23 +install: conf-update
24 + @install -d $(DESTDIR)/usr/sbin/
25 + @install conf-update $(DESTDIR)/usr/sbin/
26 + @install -d $(DESTDIR)/etc
27 + @install -m 644 conf-update.conf $(DESTDIR)/etc
28 + @install -d $(DESTDIR)/usr/share/man/man1
29 + @install -m 644 conf-update.1 $(DESTDIR)/usr/share/man/man1
30
31 clean:
32 rm -f *.o
33 rm -f conf-update
34 +
35 +.PHONY: all clean