We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c15fa48 commit 481caf6Copy full SHA for 481caf6
Makefile.in
@@ -5,6 +5,8 @@ SRC=src/mod_redirectionio.c \
5
6
OBJ=$(SRC:.c=.o)
7
8
+DESTDIR ?=
9
+
10
all: src/mod_redirectionio.so
11
12
%.o: %.c %.h
@@ -15,7 +17,8 @@ src/mod_redirectionio.so: $(OBJ)
15
17
16
18
.PHONY: install
19
install: src/mod_redirectionio.so
- cp src/mod_redirectionio.so @MODULE_DIR@/mod_redirectionio.so
20
+ mkdir -p $(DESTDIR)@MODULE_DIR@/
21
+ install -c -m 644 src/mod_redirectionio.so $(DESTDIR)@MODULE_DIR@/mod_redirectionio.so
22
23
.PHONY: clean
24
clean:
0 commit comments