You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
782 B

PREFIX=/usr/local
all: # Nothing here
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/lib/srfirewall \
$(DESTDIR)$(PREFIX)/etc/srfirewall
cp -r bin/srfirewall $(DESTDIR)$(PREFIX)/bin/
cp -r lib/* $(DESTDIR)$(PREFIX)/lib/srfirewall/
if [ ! -e $(DESTDIR)$(PREFIX)/etc/srfirewall/main.conf ]; then cp -r etc/* $(DESTDIR)$(PREFIX)/etc/srfirewall/; fi
install-etc:
cp -r etc/* $(DESTDIR)$(PREFIX)/etc/srfirewall/
install-docs:
mkdir -p $(DESTDIR)$(PREFIX)/share/doc/srfirewall
cp -r ChangeLog doc/* License ReadMe $(DESTDIR)$(PREFIX)/share/doc/srfirewall
upgrade:
mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/lib/srfirewall \
$(DESTDIR)$(PREFIX)/etc/srfirewall
cp -r bin/* $(DESTDIR)$(PREFIX)/bin/
cp -r lib/* $(DESTDIR)$(PREFIX)/lib/srfirewall/