diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -2,6 +2,10 @@ DESTDIR=/home/minimun/minimun VER=1.1 +WEBLOC=/minimun +SYSWEBROOT=/var/www/html +WEBROOT=$(SYSWEBROOT)$(WEBLOC) +DIRS=$(DESTDIR) $(WEBROOT) all: format.tex minimun @@ -15,14 +19,15 @@ format.tex: orig/format.tex clean: rm minimun -install: $(DESTDIR) all +install: $(DIRS) all cp -t $(DESTDIR) minimun format.tex logo.png + cp -RT www $(WEBROOT) uninstall: rm $(DESTDIR)/{minimun,format.tex,logo.png} rmdir -p $(DESTDIR) -SRC =LICENCE logo.png Makefile minimun.ini orig\ +SRC = LICENCE logo.png Makefile minimun.ini orig\ nginx.example.conf README www minimun.spec dist: minimun.tar.gz mkdir -pv ~/rpmbuild/SOURCES @@ -34,5 +39,5 @@ minimun.tar.gz: $(SRC) tar -czf minimun.tar.gz minimun-$(VER) rm -rf minimun-$(VER) -$(DESTDIR): +$(DIRS): mkdir -p $@ |