blob: 470842ad57f152c9403f8ce017b485f28b5fbbec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--- Makefile.orig Wed Sep 24 17:56:08 2003
+++ Makefile Wed Sep 24 17:56:33 2003
@@ -1,13 +1,13 @@
##
## Makefile -- Build procedure for mod_layout Apache module
##
-builddir=$(shell pwd)
-top_srcdir=/usr/local/apache2
-top_builddir=/usr/local/apache2
-include /usr/local/apache2/build/special.mk
+#builddir=$(shell pwd)
+top_srcdir=${LOCALBASE}/share/apache2
+top_builddir=${LOCALBASE}/share/apache2
+include ${LOCALBASE}/share/apache2/build/special.mk
# the used tools
-APXS=apxs
+APXS=${LOCALBASE}/sbin/apxs
APACHECTL=apachectl
CC=`$(APXS) -q CC`
INC=-I`$(APXS) -q INCLUDEDIR` `$(APXS) -q CFLAGS` #-DLAYOUT_FILEOWNER_NAME
@@ -61,12 +61,7 @@
$(APXS) -c header.c
# install the shared object file into Apache
install:
- $(APXS) -iac $(INCLUDES) $(LIBS) $(SRC)
- @echo "+--------------------------------------------------------+"; \
- echo "| All done. |"; \
- echo "| |"; \
- echo "| Thanks for installing mod_layout. |"; \
- echo "+--------------------------------------------------------+"; \
+ $(APXS) -ia $(INCLUDES) $(LIBS) mod_layout.la
rpm: dist
cp $(DISTVNAME).tar$(SUFFIX) /usr/src/redhat/SOURCES
|