1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 23:49:03 +00:00

Use the new licformat.sh script to format the license for the Mac OS X

installer.
This commit is contained in:
david
2008-07-11 20:53:45 +00:00
parent 4480ce022d
commit 0ad092a9ff
2 changed files with 7 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ $(IMAGE_NAME): $(IMAGE_STAGING_DIR)/$(PKG_NAME) $(EXTRA_DIST_FILES)
rm -f $@
hdiutil create -imagekey zlib-level=9 -srcfolder $(IMAGE_STAGING_DIR) $@
$(IMAGE_STAGING_DIR)/$(PKG_NAME): stage-nmap stage-zenmap
$(IMAGE_STAGING_DIR)/$(PKG_NAME): stage-nmap stage-zenmap README COPYING.formatted
mkdir -p $(IMAGE_STAGING_DIR)
$(PACKAGEMAKER) --doc nmap.pmdoc --title "Nmap $(NMAP_VERSION)" -o $@
@@ -70,11 +70,16 @@ $(IMAGE_STAGING_DIR)/COPYING:
mkdir -p $(IMAGE_STAGING_DIR)
cp -f ../COPYING $(IMAGE_STAGING_DIR)/
COPYING.formatted:
# Use the license formatter from the Windows installer.
../mswin32/license-format/licformat.sh ../COPYING > $@
clean:
rm -rf $(IMAGE_STAGING_DIR)
rm -rf $(NMAP_STAGING_DIR)
rm -rf $(ZENMAP_STAGING_DIR)
rm -rf $(NMAP_BUILD_DIR)
rm -f COPYING.formatted:
rm -f $(IMAGE_NAME)
.PHONY: clean

View File

@@ -25,7 +25,7 @@
<resources bg-scale="none" bg-align="topleft">
<locale lang="en">
<resource relative="true" type="welcome">README</resource>
<resource relative="true" type="license">../COPYING</resource>
<resource relative="true" type="license">COPYING.formatted</resource>
</locale>
</resources>
<flags />