projects
/
xmenu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
using BETWEEN macro, and fixing fallback position
[xmenu]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ac49c3c
..
58079ce
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-8,10
+8,7
@@
all: ${PROG}
${PROG}: ${OBJS}
${CC} -o $@ ${OBJS} ${LDFLAGS}
${PROG}: ${OBJS}
${CC} -o $@ ${OBJS} ${LDFLAGS}
-${OBJS}: config.h
-
-config.h: config.def.h
- cp config.def.h $@
+${OBJS}: config.h ${PROG}.h
.c.o:
${CC} ${CFLAGS} -c $<
.c.o:
${CC} ${CFLAGS} -c $<
@@
-20,10
+17,11
@@
clean:
-rm ${OBJS} ${PROG}
install: all
-rm ${OBJS} ${PROG}
install: all
- install -
d ${DESTDIR}${PREFIX}/bin/
- install -
m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/
+ install -
D -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
+ install -
D -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/${PROG}
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/${PROG}
+ rm -f ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
.PHONY: all clean install uninstall
.PHONY: all clean install uninstall