-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathMakefile
22 lines (21 loc) · 1019 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESTDIR=
prefix=/usr
install: moni-install
mkdir -p $(DESTDIR)$(prefix)/share/moniwiki
mkdir -p $(DESTDIR)$(prefix)/share/moniwiki/bin
mkdir -p $(DESTDIR)$(prefix)/share/moniwiki/data
cp data/*.* $(DESTDIR)$(prefix)/share/moniwiki/data
cp -ar wikiseed imgs css $(DESTDIR)$(prefix)/share/moniwiki
cp -ar lib plugin local $(DESTDIR)$(prefix)/share/moniwiki
cp -ar locale tools $(DESTDIR)$(prefix)/share/moniwiki
cp -ar local config $(DESTDIR)$(prefix)/share/moniwiki
cp -ar theme $(DESTDIR)$(prefix)/share/moniwiki
cp -ar applets $(DESTDIR)$(prefix)/share/moniwiki
cp wiki.php wikilib.php $(DESTDIR)$(prefix)/share/moniwiki
cp wikismiley.php $(DESTDIR)$(prefix)/share/moniwiki
cp config.php.* monisetup.php $(DESTDIR)$(prefix)/share/moniwiki
cp monisetup.sh secure.sh $(DESTDIR)$(prefix)/share/moniwiki
cp moni-install $(DESTDIR)$(prefix)/share/moniwiki/bin
moni-install: moni-install.in
cat moni-install.in | sed 's%@@INSTDIR@@%$(DESTDIR)$(prefix)/share/moniwiki%' >moni-install
chmod 755 moni-install