Unstable version number in Makefile
This commit is contained in:
parent
f3cd56e3d3
commit
1763e9f253
10
Makefile
10
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue