You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
657 B
19 lines
657 B
# based on tkabber's Makefile |
|
|
|
PREFIX = /usr/ |
|
|
|
SUBDIRS = plugins \ |
|
sounds \ |
|
images \ |
|
lib \ |
|
modes |
|
|
|
install: |
|
mkdir -p $(DESTDIR)/$(PREFIX)/share/milkbone |
|
cp -r *.p* *.conf $(SUBDIRS) $(DESTDIR)/$(PREFIX)/share/milkbone |
|
mkdir -p $(DESTDIR)/$(PREFIX)/share/doc/milkbone/ |
|
cp -r docs/* $(DESTDIR)/$(PREFIX)/share/doc/milkbone |
|
mkdir -p $(DESTDIR)/$(PREFIX)/bin/ |
|
echo -e "#!/bin/sh \n cd ${PREFIX}/share/milkbone \n exec $(PREFIX)/share/milkbone/mos.pl \"\$$@\"\n" > $(DESTDIR)/$(PREFIX)/bin/milkbone |
|
chmod +x $(DESTDIR)/$(PREFIX)/bin/milkbone |
|
ln -f $(DESTDIR)/$(PREFIX)/bin/milkbone /usr/bin/milkbone
|
|
|