![]() ![]() | ![]() |
Add install and uninstall rules to Makefile
# # $Id: Makefile,v 1.3 2025/04/27 19:49:33 snw Exp $ # plm makefile # # Copyright (C) 2025 Serena Willis # # $Log: Makefile,v $ # Revision 1.3 2025/04/27 19:49:33 snw # Add install and uninstall rules to Makefile # # Revision 1.2 2025/04/27 18:53:36 snw # Add pl man page # # Revision 1.1 2025/04/27 17:14:32 snw # Add some files # # # SPDX-FileCopyrightText: (C) 2025 Serena Willis # SPDX-License-Identifier: AGPL-3.0-or-later # default: @echo "specify install, uninstall, or lint" install: install -o root -g root pl genpl /usr/local/bin/ cp pl.1 /usr/share/man/man1/ gzip /usr/share/man/man1/pl.1 mandb -q uninstall: rm -f /usr/local/bin/pl rm -f /usr/local/bin/genpl rm -f /usr/share/man/man1/pl.1.gz mandb -q lint: rm -rf LICENSES mkdir -p LICENSES reuse download --all reuse lint rm -rf LICENSES .PHONY: default install uninstall lint