X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=as%2Fcasl2lib%2FMakefile;h=880ba6ba07b22fc1c136d17216cf7bdf21cfbbb8;hb=3773e6cd58cc5d113d0fbf314be93cf831057836;hp=e191cf438f58dd5e64e22fddfae2a34912511308;hpb=1d0484f513cb74869cb266ddfa5949b19de4839c;p=YACASL2.git diff --git a/as/casl2lib/Makefile b/as/casl2lib/Makefile index e191cf4..880ba6b 100644 --- a/as/casl2lib/Makefile +++ b/as/casl2lib/Makefile @@ -6,12 +6,12 @@ ECHO ?= echo INSTALL ?= install prefix ?= ~ -sharedir ?= $(prefix)/share +casl2libdir ?= $(prefix)/share/casl2lib install-casl2lib: *.casl - $(INSTALL) -d $(sharedir)/casl2lib - $(INSTALL) $^ $(sharedir)/casl2lib/ + $(INSTALL) -d $(casl2libdir) + $(INSTALL) $^ $(casl2libdir)/ uninstall-casl2lib: - @$(RMF) $(sharedir)/casl2lib/*.casl - @$(RMDIR) $(sharedir)/casl2lib || if test -e $(sharedir)/casl2lib; then $(ECHO) "$(sharedir)/casl2lib: files may be added by others."; fi + @$(RMF) $(casl2libdir)/*.casl + @$(RMDIR) $(casl2libdir) || if test -e $(casl2libdir); then $(ECHO) "$(casl2libdir): files may be added by others."; fi