Description: Install man page to right place
 Need to use DESTINSTALLMAN1DIR to be installed in our build tree
 Need to use 1p as this is a script, not a module.
Author: Andrew Ruthven <andrew@etc.gen.nz>
Bug: https://github.com/rlauer6/CLI-Simple/issues/13
Last-Update: 2026-06-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/postamble
+++ b/postamble
@@ -1,3 +1,3 @@
 install ::
-	$(NOECHO) ln -sf $(INSTALLMAN3DIR)/CLI::Simple::Shell.3pm $(INSTALLMAN3DIR)/cli-simple.3pm
+	$(NOECHO) ln -sf $(INSTALLMAN3DIR)/CLI::Simple::Shell.3pm $(DESTINSTALLMAN1DIR)/cli-simple.1p
 	$(NOECHO) echo $(INSTALLMAN3DIR)/cli-simple.3pm >> $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist
