summaryrefslogtreecommitdiffstats
path: root/rules/apache2.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-04 00:42:52 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-04 11:07:30 +0100
commitdbc4d9cf01ff2e55ecf22486ca5bfaf01177345a (patch)
tree3ce23fa6006ce3760c86fcf618a7c34469ae3e11 /rules/apache2.make
parentf581061231a4f3c610320e0f9c64fcf4754d71f4 (diff)
downloadptxdist-dbc4d9cf01ff2e55ecf22486ca5bfaf01177345a.tar.gz
ptxdist-dbc4d9cf01ff2e55ecf22486ca5bfaf01177345a.tar.xz
[apache2] cleanup targetinstall
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/apache2.make')
-rw-r--r--rules/apache2.make21
1 files changed, 10 insertions, 11 deletions
diff --git a/rules/apache2.make b/rules/apache2.make
index a99b073fb..040294bc0 100644
--- a/rules/apache2.make
+++ b/rules/apache2.make
@@ -152,17 +152,16 @@ $(STATEDIR)/apache2.targetinstall:
@$(call install_fixup, apache2,DESCRIPTION,missing)
# # the server binary
- @$(call install_copy, apache2, 0, 0, 0755, $(APACHE2_DIR)/httpd, /usr/sbin/apache2)
+ @$(call install_copy, apache2, 0, 0, 0755, \
+ $(APACHE2_PKGDIR)/usr/bin/httpd, /usr/sbin/apache2)
# # and some needed shared libraries
- @$(call install_copy, apache2, 0, 0, 0644, \
- $(APACHE2_DIR)/srclib/apr-util/.libs/libaprutil-0.so.0.9.12, \
+ @$(call install_copy, apache2, 0, 0, 0644, -, \
/usr/lib/libaprutil-0.so.0.9.12)
@$(call install_link, apache2, libaprutil-0.so.0.9.12, /usr/lib/libaprutil-0.so.0.9)
@$(call install_link, apache2, libaprutil-0.so.0.9.12, /usr/lib/libaprutil-0.so.0)
- @$(call install_copy, apache2, 0, 0, 0644, \
- $(APACHE2_DIR)/srclib/apr/.libs/libapr-0.so.0.9.12, \
+ @$(call install_copy, apache2, 0, 0, 0644, -, \
/usr/lib/libapr-0.so.0.9.12)
@$(call install_link, apache2, libapr-0.so.0.9.12, /usr/lib/libapr-0.so.0.9)
@$(call install_link, apache2, libapr-0.so.0.9.12, /usr/lib/libapr-0.so.0)
@@ -173,24 +172,24 @@ ifneq ($(PTXCONF_APACHE2_SERVERROOT),"")
ifdef PTXCONF_APACHE2_PUBLICDOMAINICONS
# # TODO: are all icons required?
@$(call install_copy, apache2, 12,102,0755,$(PTXCONF_APACHE2_SERVERROOT)/icons)
- @cd $(APACHE2_DIR)/docs/icons; \
+ @cd $(APACHE2_PKGDIR)/usr/icons; \
for i in *.gif *.png; do \
$(call install_copy, apache2, 12,102,0644,$$i,$(PTXCONF_APACHE2_SERVERROOT)/icons/$$i, n); \
done
@$(call install_copy, apache2, 12,102,0755,$(PTXCONF_APACHE2_SERVERROOT)/icons/small)
- @cd $(APACHE2_DIR)/docs/icons/small; \
+ @cd $(APACHE2_PKGDIR)/usr/icons/small; \
for i in *.gif *.png; do \
$(call install_copy, apache2, 12,102,0644,$$i,$(PTXCONF_APACHE2_SERVERROOT)/icons/small/$$i, n); \
done
endif
ifdef PTXCONF_APACHE2_CUSTOMERRORS
@$(call install_copy, apache2, 12,102,0755,$(PTXCONF_APACHE2_SERVERROOT)/error)
- @cd $(APACHE2_DIR)/docs/error; \
+ @cd $(APACHE2_PKGDIR)/usr/error; \
for i in *.html.var; do \
$(call install_copy, apache2, 12,102,0644,$$i,$(PTXCONF_APACHE2_SERVERROOT)/error/$$i, n); \
done
@$(call install_copy, apache2, 12,102,0755,$(PTXCONF_APACHE2_SERVERROOT)/error/include)
- @cd $(APACHE2_DIR)/docs/error/include; \
+ @cd $(APACHE2_PKGDIR)/usr/error/include; \
for i in *.html; do \
$(call install_copy, apache2, 12,102,0644,$$i,$(PTXCONF_APACHE2_SERVERROOT)/error/include/$$i, n); \
done
@@ -204,10 +203,10 @@ endif
#
@$(call install_copy, apache2, 12, 102, 0755, $(PTXCONF_APACHE2_SERVERROOT)/conf)
@$(call install_copy, apache2, 12, 102, 0644, \
- $(APACHE2_DIR)/docs/conf/magic, \
+ $(APACHE2_PKGDIR)/etc/magic, \
$(PTXCONF_APACHE2_SERVERROOT)/conf/magic, n)
@$(call install_copy, apache2, 12, 102, 0644, \
- $(APACHE2_DIR)/docs/conf/mime.types, \
+ $(APACHE2_PKGDIR)/etc/mime.types, \
$(PTXCONF_APACHE2_SERVERROOT)/conf/mime.types, n)
endif