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