Commits

Tatsuo Ikeda committed 8ddf7ce

modify: Makefile

Comments (0)

Files changed (1)

 DESTINATION_FOLDER = /usr/local/lib
 DESTINATION_BIN_FOLDER = /usr/local/bin
 
+CD = cd
 RM = /bin/rm -f
 CP = /bin/cp
 LN = /bin/ln
+LS = /bin/ls
 ECHO = /bin/echo
 MKDIR = /bin/mkdir -p
 INSTALL = install
 
-
 all:
 	$(MKDIR) $(DICT_DEV_FOLDER)
 	$(CP) -r lib $(DICT_DEV_FOLDER)
 	$(CP) -r bin $(DICT_DEV_FOLDER)
+
+	BASEPATH=`pwd`;\
+	for i in `$(CD) $(DICT_DEV_FOLDER)/lib/vetags/lang; \ls`;\
+	do\
+		cd $$BASEPATH/$(DICT_DEV_FOLDER)/lib/vetags/lang/$$i;\
+		FILENAME=`\ls createtags-$$i*`;\
+		ln -s $$FILENAME `basename $$FILENAME | cut -d "." -f 1`;\
+	done
 	$(ECHO)	"Done."
 
 install: