source: trunk/Makefile @ 38109

Last change on this file since 38109 was 37158, checked in by jkh@…, 12 years ago

Also forward the clean target, just to be nice and neat.

File size: 416 bytes
Line 
1PREFIX= /opt/local
2SRCS=   ${PREFIX}/etc/macports/sources.conf
3
4default: all
5
6all:
7        @(cd base; [ ! -f Makefile ] && ./configure ; make all)
8
9install: all
10        @(cd base; make install)
11        @if egrep -q ^rsync ${SRCS}; then \
12          echo file://`pwd`/dports/ >> ${SRCS}; \
13          sed -i .orig -e 's/^rsync/#rsync/' ${SRCS}; \
14          echo "${SRCS} automatically configured"; \
15        fi
16
17clean:
18        @(cd base; [ -f Makefile ] && make clean)
19
Note: See TracBrowser for help on using the repository browser.