From bb9f2230e60c91f53e6ac3cdf395b6b4b533fc0f Mon Sep 17 00:00:00 2001 From: dmiller Date: Sun, 20 Sep 2015 04:16:35 +0000 Subject: [PATCH] Simply copy ndiff.py and the man page when building .dmg installer. See #201 --- macosx/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/macosx/Makefile b/macosx/Makefile index c4534fbf2..9780e9abf 100644 --- a/macosx/Makefile +++ b/macosx/Makefile @@ -118,10 +118,10 @@ stage-zenmap: export-$(ZENMAP_BUILD_DIR) cp -rf $(ZENMAP_BUILD_DIR)/zenmap/dist/Zenmap.app $(ZENMAP_STAGING_DIR)/Applications/ stage-ndiff: export-$(NDIFF_BUILD_DIR) - cd $(NDIFF_BUILD_DIR) && ./configure --without-zenmap --without-ncat --with-ndiff --without-nping $(CONFIGURE_ARGS) - make -C $(NDIFF_BUILD_DIR) build-ndiff - rm -rf $(NDIFF_STAGING_DIR) - make -C $(NDIFF_BUILD_DIR) install-ndiff DESTDIR="`pwd`/$(NDIFF_STAGING_DIR)" + mkdir -p $(NDIFF_STAGING_DIR)/usr/local/bin + mkdir -p $(NDIFF_STAGING_DIR)/usr/local/share/man/man1 + cp $(NDIFF_BUILD_DIR)/ndiff/ndiff.py $(NDIFF_STAGING_DIR)/usr/local/bin/ndiff + cp $(NDIFF_BUILD_DIR)/ndiff/docs/ndiff.1 $(NDIFF_STAGING_DIR)/usr/local/share/man/man1/ COPYING.formatted: # Use the license formatter from the Windows installer.