diff options
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | test/build/install | 12 |
2 files changed, 11 insertions, 11 deletions
@@ -38,17 +38,17 @@ clean: passt.tar passt.tar.gz *.deb *.rpm install: passt pasta qrap - mkdir -p $(DESTDIR)$(prefix)/bin $(DESTDIR)$(prefix)/man/man1 + mkdir -p $(DESTDIR)$(prefix)/bin $(DESTDIR)$(prefix)/share/man/man1 cp -d passt pasta qrap $(DESTDIR)$(prefix)/bin - cp -d passt.1 pasta.1 qrap.1 $(DESTDIR)$(prefix)/man/man1 + cp -d passt.1 pasta.1 qrap.1 $(DESTDIR)$(prefix)/share/man/man1 uninstall: -${RM} $(DESTDIR)$(prefix)/bin/passt -${RM} $(DESTDIR)$(prefix)/bin/pasta -${RM} $(DESTDIR)$(prefix)/bin/qrap - -${RM} $(DESTDIR)$(prefix)/man/man1/passt.1 - -${RM} $(DESTDIR)$(prefix)/man/man1/pasta.1 - -${RM} $(DESTDIR)$(prefix)/man/man1/qrap.1 + -${RM} $(DESTDIR)$(prefix)/share/man/man1/passt.1 + -${RM} $(DESTDIR)$(prefix)/share/man/man1/pasta.1 + -${RM} $(DESTDIR)$(prefix)/share/man/man1/qrap.1 pkgs: tar cf passt.tar -P --xform 's//\/usr\/bin\//' passt pasta qrap diff --git a/test/build/install b/test/build/install index 0a09fc7..2c93647 100644 --- a/test/build/install +++ b/test/build/install @@ -20,15 +20,15 @@ host prefix=__TEMP__ make install check [ -f __TEMP__/bin/passt ] check [ -h __TEMP__/bin/pasta ] check [ -f __TEMP__/bin/qrap ] -check man -M __TEMP__/man -W passt -check man -M __TEMP__/man -W pasta -check man -M __TEMP__/man -W qrap +check man -M __TEMP__/share/man -W passt +check man -M __TEMP__/share/man -W pasta +check man -M __TEMP__/share/man -W qrap test Uninstall host prefix=__TEMP__ make uninstall check ! [ -f __TEMP__/bin/passt ] check ! [ -h __TEMP__/bin/pasta ] check ! [ -f __TEMP__/bin/qrap ] -check ! man -M __TEMP__/man -W passt 2>/dev/null -check ! man -M __TEMP__/man -W pasta 2>/dev/null -check ! man -M __TEMP__/man -W qrap 2>/dev/null +check ! man -M __TEMP__/share/man -W passt 2>/dev/null +check ! man -M __TEMP__/share/man -W pasta 2>/dev/null +check ! man -M __TEMP__/share/man -W qrap 2>/dev/null |