Browse files

build: only move adv files if building on HP-UX.

  • Loading branch information...
1 parent 4a80d23 commit 61094901edfb51d77c3c363fe243caa0e0260c10 @Flameeyes Flameeyes committed Jul 16, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
View
6 Makefile
@@ -130,6 +130,10 @@ install-master-prime: $(INFILES_MASTER) install-pre install-master
install-node-plugins: install-plugins-prime
# Some HP-UX plugins needs *.adv support files in LIBDIR
+ifneq ($(OSTYPE),hp-ux)
+HPUXONLY=true ||
+endif
+
install-plugins-prime: install-plugins build $(PLUGINS) Makefile Makefile.config
@$(CHECKGROUP)
@@ -149,7 +153,7 @@ install-plugins-prime: install-plugins build $(PLUGINS) Makefile Makefile.config
$(INSTALL) -m 0755 $$p $(LIBDIR)/plugins/; \
fi \
done
- -mv $(LIBDIR)/plugins/*.adv $(LIBDIR)
+ $(HPUXONLY) mv $(LIBDIR)/plugins/*.adv $(LIBDIR)
$(INSTALL) -m 0644 build/plugins/plugins.history $(LIBDIR)/plugins/
$(INSTALL) -m 0644 build/plugins/plugin.sh $(LIBDIR)/plugins/

0 comments on commit 6109490

Please sign in to comment.