Unstable version number in Makefile

This commit is contained in:
Bert 2011-05-10 09:47:24 +02:00
parent f3cd56e3d3
commit 1763e9f253
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
all: sxiv all: sxiv
VERSION=0.8.1 VERSION=git-20110510
CC?=gcc CC?=gcc
DESTDIR?= DESTDIR?=
@ -19,10 +19,10 @@ sxiv: $(OBJFILES)
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
install: all install: all
install -D -m 755 -o root -g root sxiv ${DESTDIR}$(PREFIX)/bin/sxiv install -D -m 755 -o root -g root sxiv $(DESTDIR)$(PREFIX)/bin/sxiv
mkdir -p ${DESTDIR}$(PREFIX)/share/man/man1 mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
sed "s/VERSION/$(VERSION)/g" sxiv.1 > ${DESTDIR}$(PREFIX)/share/man/man1/sxiv.1 sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(DESTDIR)$(PREFIX)/share/man/man1/sxiv.1
chmod 644 ${DESTDIR}$(PREFIX)/share/man/man1/sxiv.1 chmod 644 $(DESTDIR)$(PREFIX)/share/man/man1/sxiv.1
clean: clean:
rm -f sxiv *.o rm -f sxiv *.o