Ticket #18518: patch-Makefile

File patch-Makefile, 804 bytes (added by adambyrtek@…, 16 years ago)
Line 
1diff -r e9e37120397a Makefile
2--- Makefile    Mon Feb 16 23:50:04 2009 +0100
3+++ Makefile    Tue Feb 17 00:33:14 2009 +0100
4@@ -1,5 +1,10 @@
5+.PHONY: pal install
6+
7 pal:
8        make -C src
9 
10+install:
11+       make -C src install
12+
13 %:
14        make -C src $@
15diff -r e9e37120397a src/Makefile
16--- src/Makefile        Mon Feb 16 23:50:04 2009 +0100
17+++ src/Makefile        Tue Feb 17 00:33:14 2009 +0100
18@@ -85,8 +85,8 @@
19        @echo " --- Installing global data --- "
20        @mkdir -p ${DESTDIR}${prefix}/share/pal;
21        install -m 0644 -o root ../share/*.pal ${DESTDIR}${prefix}/share/pal
22-       @mkdir -p ${DESTDIR}/etc;
23-       install -m 0644 -o root ../pal.conf ${DESTDIR}/etc/
24+       @mkdir -p ${DESTDIR}${prefix}/etc;
25+       install -m 0644 -o root ../pal.conf ${DESTDIR}${prefix}/etc/
26        @echo
27 
28 # "install" will install the files needed by pal and also check to see