mirror of
https://github.com/oDinZu/callirhoe.git
synced 2025-02-22 00:04:52 -05:00
check for existing packages
destdir default value git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@231 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
This commit is contained in:
parent
5ad584249e
commit
7cd1161aef
5
Makefile
5
Makefile
@ -1,4 +1,4 @@
|
||||
DESTDIR=/usr
|
||||
DESTDIR=/usr/local
|
||||
|
||||
all:
|
||||
cd scripts && ./make_pkg
|
||||
@ -11,3 +11,6 @@ install-package:
|
||||
install -m755 callirhoe $(DESTDIR)/bin/callirhoe
|
||||
install -m755 calmagick $(DESTDIR)/bin/calmagick
|
||||
install -m644 holidays/* $(DESTDIR)/share/callirhoe/holidays/
|
||||
|
||||
clean:
|
||||
rm -f callirhoe calmagick
|
||||
|
@ -38,5 +38,5 @@ create_calmagick_package() {
|
||||
set -e
|
||||
|
||||
cd ..
|
||||
create_callirhoe_package
|
||||
create_calmagick_package
|
||||
[[ -x callirhoe ]] && echo "callirhoe package seems to exist, skipping; rm 'calliroe' to recreate" || create_callirhoe_package
|
||||
[[ -x calmagick ]] && echo "calmagick package seems to exist, skipping; rm 'calmagick' to recreate" || create_calmagick_package
|
||||
|
Loading…
x
Reference in New Issue
Block a user