version 1.1, 2025/04/27 17:14:32
|
version 1.3, 2025/04/27 19:49:33
|
Line 5
|
Line 5
|
# Copyright (C) 2025 Serena Willis |
# Copyright (C) 2025 Serena Willis |
# |
# |
# $Log$ |
# $Log$ |
|
# 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 |
# Revision 1.1 2025/04/27 17:14:32 snw |
# Add some files |
# Add some files |
# |
# |
Line 13
|
Line 19
|
# SPDX-License-Identifier: AGPL-3.0-or-later |
# 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: |
lint: |
mkdir LICENSES |
rm -rf LICENSES |
|
mkdir -p LICENSES |
reuse download --all |
reuse download --all |
reuse lint |
reuse lint |
rm -rf LICENSES |
rm -rf LICENSES |
|
|
|
.PHONY: default install uninstall lint |