ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cvs-geidontei/Makefile
Revision: 1.1
Committed: Mon Sep 30 02:14:12 2024 UTC (6 weeks, 4 days ago) by yakumo_izuru
Branch: MAIN
Log Message:
cvsutils was already taken

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     uninstall:
18     rm -f ${DESTDIR}${PREFIX}/bin/create-cvs*
19     rm -f ${DESTDIR}${MANDIR}/man1/create-cvs*
20