aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-06-28 03:00:32 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-06-28 03:00:32 +0000
commiteaef169d7563ea5b426c7a51c9afea9177d92b72 (patch)
tree1e1b58196efe722a3954bf3002ed4ea62a37af19 /Makefile
parentfd9f38ea42b04d23203c1d407d8c6f19d673264b (diff)
added reason why i don't self host videos
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f1c6e22..9ed03c9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,19 @@
+# pkgit - package it!
+
+# Copyright (C) 2026 dacctal
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
.PHONY: default debug install defconfig clean
CC ?= clang
@@ -25,9 +41,12 @@ debug: pkgit
install: pkgit
install -d ${DESTDIR}${PREFIX}/bin
install -m 755 pkgit ${DESTDIR}${PREFIX}/bin/pkgit
+ install -d ${DESTDIR}${PREFIX}/share/man/man1
+ install -m 644 docs/pkgit.1 ${DESTDIR}${PREFIX}/share/man/man1/pkgit.1
uninstall: ${DESTDIR}${PREFIX}/bin/pkgit
${RM} ${DESTDIR}${PREFIX}/bin/pkgit
+ ${RM} ${DESTDIR}${PREFIX}/share/man/man1/pkgit.1
defconfig:
@if [ "$$(id -u)" -eq 0 ]; then dir=/etc/pkgit; else dir=~/.config/pkgit; fi; \