# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/afio/hotfix-install.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- afio-2.5/Makefile.vanilla 2007-06-16 18:27:48.893281437 +0200 +++ afio-2.5/Makefile 2007-06-16 18:31:02.788330886 +0200 @@ -1,4 +1,5 @@ SHELL=/bin/sh +prefix=/usr/local ## ## See the INSTALLATION file for quick installation instructions. ## @@ -88,8 +89,8 @@ cd regtest; /bin/sh regtest.clean install: afio - cp afio /usr/local/bin - cp afio.1 /usr/share/man/man1 + cp afio $(DESTDIR)$(prefix)/bin + cp afio.1 $(DESTDIR)$(prefix)/man/man1 # generate default list of -E extensions from manpage # note: on sun, I had to change awk command below to nawk or gawk