Extended 'install' target to install man pages as well
This commit is contained in:
4
Makefile
4
Makefile
@@ -2,6 +2,7 @@ CC=gcc
|
||||
CFLAGS=
|
||||
LIB_FILE = libeasysock.so
|
||||
|
||||
|
||||
.PHONY: all
|
||||
all: $(LIB_FILE)
|
||||
|
||||
@@ -40,6 +41,8 @@ install: $(LIB_FILE)
|
||||
install -d $(DESTDIR)$(PREFIX)/include
|
||||
install -m 644 easysock.h $(DESTDIR)$(PREFIX)/include
|
||||
|
||||
install -m 644 docs/man3/*.gz /usr/share/man/man3/
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm *.o
|
||||
@@ -50,3 +53,4 @@ clean:
|
||||
uninstall:
|
||||
rm $(DESTDIR)$(PREFIX)/lib/$(LIB_FILE)
|
||||
rm $(DESTDIR)$(PREFIX)/include/easysock.h
|
||||
|
||||
|
Reference in New Issue
Block a user