Makefile.autotools.in: also remove man pages from /usr/share/man
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 Jul 2008 12:04:18 +0000 (12:04 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 Jul 2008 12:04:18 +0000 (12:04 -0000)
package/Makefile.autotools.in

index 76d734745ba8204af67714006dc394d5277ebd0f..ae48654e265f3916f6080d139938ce5f34eb0654 100644 (file)
@@ -238,7 +238,7 @@ $(BUILD_DIR)/%/.stamp_staging_installed:
 $(BUILD_DIR)/%/.stamp_target_installed:
        $(call MESSAGE,"Installing to target")
        $($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_INSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
-       $(if $(BR2_HAVE_MANPAGES),,for d in man; do \
+       $(if $(BR2_HAVE_MANPAGES),,for d in man share/man; do \
                rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
        done)
        $(if $(BR2_HAVE_INFOPAGES),,for d in info share/info; do \