Prevent building as root.

foo
Michael Spang 16 years ago
parent 0f65af078b
commit 955e455316
  1. 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…
Cancel
Save