summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-02 21:34:18 +0300
committerPaul Buetow <paul@buetow.org>2026-06-02 21:34:18 +0300
commit11a568246ce71ead880e269f12b2abdd4dd66243 (patch)
tree28983316686a480ed7914670f0358a1f2dca8fce /Makefile
parentad8490cce5a5c98acd68053f3ba2dbb6d5116487 (diff)
Remove obsolete changelog for e20
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c11a944..a8c00ea 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
NAME=photoalbum
+VERSION=0.6.0
#DESTDIR=/
-all: version build
+all: build
version:
- cut -d' ' -f2 changelog | head -n 1 | sed 's/(//;s/)//' > .version
+ printf '%s\n' "$(VERSION)"
build:
test ! -d ./bin && mkdir ./bin || exit 0
- sed "s/PHOTOALBUMVERSION/$$(cat .version)/" src/$(NAME).sh > ./bin/$(NAME)
+ sed "s/PHOTOALBUMVERSION/$(VERSION)/" src/$(NAME).sh > ./bin/$(NAME)
chmod 0755 ./bin/$(NAME)
install:
test ! -d $(DESTDIR)/usr/bin && mkdir -p $(DESTDIR)/usr/bin || exit 0