diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-07-25 14:11:27 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-07-25 14:11:58 -0400 |
commit | 86c96011c090a8d8304c28043acaf13cdb37f28e (patch) | |
tree | d962111d19a593f084f02f096f45212071884cd0 /Makefile | |
parent | a8de3886aa65d77475ee1ebe537bfae4e5a5beab (diff) |
rpm installs index.html
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 $@ |