diff options
author | r <r@freesoftwareextremist.com> | 2022-09-23 17:22:54 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2022-09-23 17:22:54 +0000 |
commit | f55595ddb63bd8afb4c85945b82aa1f174050e6b (patch) | |
tree | 3e9f909097c026b065365846ca8143295097a09f /Makefile | |
parent | b8c0133bcd5e7f1d4063ad992949cc19d18e7aad (diff) | |
parent | 68698a9e1afce43ef807d6b5f892ca1c0f905b8a (diff) | |
download | bloat-absolute_fluoride.tar.gz bloat-absolute_fluoride.zip |
Merge branch 'master' into absolute_fluorideabsolute_fluoride
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -18,6 +18,10 @@ all: bloat bloat: $(SRC) $(TMPL) $(GO) build $(GOFLAGS) -o bloat main.go + sed -e "s%=database%=/var/bloat%g" \ + -e "s%=templates%=$(SHAREPATH)/templates%g" \ + -e "s%=static%=$(SHAREPATH)/static%g" \ + < bloat.conf > bloat.gen.conf install: bloat mkdir -p $(DESTDIR)$(BINPATH) \ @@ -29,10 +33,6 @@ install: bloat chmod 0644 $(DESTDIR)$(SHAREPATH)/templates/* cp -r static/* $(DESTDIR)$(SHAREPATH)/static chmod 0644 $(DESTDIR)$(SHAREPATH)/static/* - sed -e "s%=database%=/var/bloat%g" \ - -e "s%=templates%=$(SHAREPATH)/templates%g" \ - -e "s%=static%=$(SHAREPATH)/static%g" \ - < bloat.conf > /etc/bloat.conf uninstall: rm -f $(DESTDIR)$(BINPATH)/bloat @@ -40,3 +40,4 @@ uninstall: clean: rm -f bloat + rm -f bloat.gen.conf |