wmix: install the man page at the same time as the program
This commit is contained in:
parent
0243a0b9ed
commit
65f5baad33
|
@ -6,7 +6,8 @@ OBJECTS = misc.o mixer-oss.o ui_x.o wmix.o
|
||||||
# where to install this program (also for packaging stuff)
|
# where to install this program (also for packaging stuff)
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
PREFIX = $(DESTDIR)/usr/X11R6
|
PREFIX = $(DESTDIR)/usr/X11R6
|
||||||
INSTALL = -m 755
|
INSTALL_BIN = -m 755
|
||||||
|
INSTALL_DATA = -m 644
|
||||||
|
|
||||||
wmix: $(OBJECTS)
|
wmix: $(OBJECTS)
|
||||||
$(CC) -o $@ $(LDFLAGS) $(OBJECTS) -lXpm -lXext -lX11 -lm
|
$(CC) -o $@ $(LDFLAGS) $(OBJECTS) -lXpm -lXext -lX11 -lm
|
||||||
|
@ -15,4 +16,5 @@ clean:
|
||||||
rm -rf *.o wmix *~
|
rm -rf *.o wmix *~
|
||||||
|
|
||||||
install: wmix
|
install: wmix
|
||||||
install $(INSTALL) wmix $(PREFIX)/bin
|
install $(INSTALL_BIN) wmix $(PREFIX)/bin
|
||||||
|
install $(INSTALL_DATA) wmix.1x $(PREFIX)/man/man1
|
||||||
|
|
Loading…
Reference in a new issue