Unstable version number in Makefile
This commit is contained in:
parent
f3cd56e3d3
commit
1763e9f253
10
Makefile
10
Makefile
|
@ -1,6 +1,6 @@
|
|||
all: sxiv
|
||||
|
||||
VERSION=0.8.1
|
||||
VERSION=git-20110510
|
||||
|
||||
CC?=gcc
|
||||
DESTDIR?=
|
||||
|
@ -19,10 +19,10 @@ sxiv: $(OBJFILES)
|
|||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
install: all
|
||||
install -D -m 755 -o root -g root sxiv ${DESTDIR}$(PREFIX)/bin/sxiv
|
||||
mkdir -p ${DESTDIR}$(PREFIX)/share/man/man1
|
||||
sed "s/VERSION/$(VERSION)/g" sxiv.1 > ${DESTDIR}$(PREFIX)/share/man/man1/sxiv.1
|
||||
chmod 644 ${DESTDIR}$(PREFIX)/share/man/man1/sxiv.1
|
||||
install -D -m 755 -o root -g root sxiv $(DESTDIR)$(PREFIX)/bin/sxiv
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(DESTDIR)$(PREFIX)/share/man/man1/sxiv.1
|
||||
chmod 644 $(DESTDIR)$(PREFIX)/share/man/man1/sxiv.1
|
||||
|
||||
clean:
|
||||
rm -f sxiv *.o
|
||||
|
|
Loading…
Reference in New Issue