ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cvs-geidontei/Makefile
Revision: 1.2
Committed: Mon Sep 30 10:54:45 2024 UTC (6 weeks, 3 days ago) by yakumo_izuru
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines
Log Message:
Add cvs-geidontei(7)

File Contents

# User Rev Content
1 yakumo_izuru 1.1 PREFIX ?= /usr/pkg
2     MANDIR ?= ${PREFIX}/man
3    
4     build: generate
5    
6     clean:
7     rm -f create-cvs
8     generate:
9     @sed "s#%%PREFIX%%#${PREFIX}#" create-cvs.in > create-cvs
10    
11     install:
12     @install -m0755 create-cvs ${DESTDIR}${PREFIX}/bin/create-cvs
13     @install -m0755 create-cvs-repo ${DESTDIR}${PREFIX}/bin/create-cvs-repo
14     @install -m0755 modify-cvsroot-permission ${DESTDIR}${PREFIX}/bin/modify-cvsroot-permission
15     @install -m0644 man/create-cvs.1 ${DESTDIR}${MANDIR}/man1/create-cvs.1
16     @install -m0644 man/create-cvs-repo.1 ${DESTDIR}${MANDIR}/man1/create-cvs-repo.1
17 yakumo_izuru 1.2 @install -m0644 man/cvs-geidontei.7 ${DESTDIR}${MANDIR}/man7/cvs-geidontei.7
18 yakumo_izuru 1.1 uninstall:
19     rm -f ${DESTDIR}${PREFIX}/bin/create-cvs*
20     rm -f ${DESTDIR}${MANDIR}/man1/create-cvs*
21 yakumo_izuru 1.2 rm -f ${DESTDIR}${MANDIR}/man7/cvs-geidontei.7
22 yakumo_izuru 1.1