X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=as%2Fcasl2lib%2FMakefile;h=880ba6ba07b22fc1c136d17216cf7bdf21cfbbb8;hb=73f22df3d057be934e278e7e49d4b70591d07ac7;hp=e191cf438f58dd5e64e22fddfae2a34912511308;hpb=3053e64d09d37f001077a8a04b29b394213d8b60;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