Prevent building as root.
This commit is contained in:
parent
0f65af078b
commit
955e455316
5
Makefile
5
Makefile
|
@ -2,7 +2,10 @@ INPUTS = index.xml footer.xml
|
|||
SUBDIRS = about events docs office news users clubs media
|
||||
|
||||
# the following two rules are there so cow gets built first.
|
||||
cow-first: events.ics recurse-cow books.xml members.xml menu.xml all
|
||||
cow-first: noroot events.ics recurse-cow books.xml members.xml menu.xml all
|
||||
|
||||
noroot:
|
||||
if test $$UID = 0; then echo "don't build as root!"; exit 1; fi
|
||||
|
||||
recurse-cow:
|
||||
cd cow && $(MAKE) && cd ..
|
||||
|
|
Loading…
Reference in New Issue