diff options
author | r <r@freesoftwareextremist.com> | 2021-05-30 09:13:47 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2021-05-30 09:13:47 +0000 |
commit | 4ab53547a81aa954b694fbde292c14bd2d04b76c (patch) | |
tree | 4ed7280db468abc4b9a05bf05d5d32776772342a /Makefile | |
parent | 9f34b607498c09b4a21bdcc82b3295f6c94bd058 (diff) | |
parent | 44d4b0d379ddfe004bff710c5c3cb44692500ad4 (diff) | |
download | bloat-4ab53547a81aa954b694fbde292c14bd2d04b76c.tar.gz bloat-4ab53547a81aa954b694fbde292c14bd2d04b76c.zip |
Merge branch 'master' into absolute_fluoride
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -26,18 +26,19 @@ bloat.def.conf: < bloat.conf > bloat.def.conf install: bloat - mkdir -p $(BINPATH) $(SHAREPATH)/templates $(SHAREPATH)/static - cp bloat $(BINPATH)/bloat - chmod 0755 $(BINPATH)/bloat - cp -r templates/* $(SHAREPATH)/templates - chmod 0644 $(SHAREPATH)/templates/* - cp -r static/* $(SHAREPATH)/static - chmod 0644 $(SHAREPATH)/static/* + mkdir -p $(DESTDIR)$(BINPATH) \ + $(DESTDIR)$(SHAREPATH)/templates \ + $(DESTDIR)$(SHAREPATH)/static + cp bloat $(DESTDIR)$(BINPATH)/bloat + chmod 0755 $(DESTDIR)$(BINPATH)/bloat + cp -r templates/* $(DESTDIR)$(SHAREPATH)/templates + chmod 0644 $(DESTDIR)$(SHAREPATH)/templates/* + cp -r static/* $(DESTDIR)$(SHAREPATH)/static + chmod 0644 $(DESTDIR)$(SHAREPATH)/static/* uninstall: - rm -f $(BINPATH)/bloat - rm -fr $(SHAREPATH)/templates - rm -fr $(SHAREPATH)/static + rm -f $(DESTDIR)$(BINPATH)/bloat + rm -fr $(DESTDIR)$(SHAREPATH) clean: rm -f bloat |