mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Merge branch 'packaging' of https://github.com/carstene1ns/lgogdownloader
This commit is contained in:
commit
7c9ba84a1b
10
Makefile
10
Makefile
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
WORKDIR = `pwd`
|
WORKDIR = `pwd`
|
||||||
|
|
||||||
|
DESTDIR =
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
AR = ar
|
AR = ar
|
||||||
@ -130,10 +132,12 @@ clean_release:
|
|||||||
rm -rf $(OBJDIR_RELEASE)/src
|
rm -rf $(OBJDIR_RELEASE)/src
|
||||||
rm -f $(MAN_DIR)/$(MAN_PAGE) $(MAN_DIR)/$(MAN_PAGE).gz
|
rm -f $(MAN_DIR)/$(MAN_PAGE) $(MAN_DIR)/$(MAN_PAGE).gz
|
||||||
|
|
||||||
install:
|
install: release
|
||||||
install $(OUT_RELEASE) /usr/bin
|
mkdir -p $(DESTDIR)/usr/bin
|
||||||
|
install $(OUT_RELEASE) $(DESTDIR)/usr/bin
|
||||||
if test -f $(MAN_DIR)/$(MAN_PAGE).gz; then \
|
if test -f $(MAN_DIR)/$(MAN_PAGE).gz; then \
|
||||||
install $(MAN_DIR)/$(MAN_PAGE).gz /usr/share/man/man1; \
|
mkdir -p $(DESTDIR)/usr/share/man/man1; \
|
||||||
|
install $(MAN_DIR)/$(MAN_PAGE).gz $(DESTDIR)/usr/share/man/man1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
Loading…
Reference in New Issue
Block a user