trunk: changeset 1958
[notion/jeffpc.git] / utils / Makefile
blobcc58d486fe46bd187c39f751693d056d83082196
1 ##
2 ## Ion utils/ Makefile
3 ##
5 # System-specific configuration is in system.mk
6 TOPDIR=..
7 include $(TOPDIR)/system-inc.mk
9 ######################################
11 SUBDIRS=ion-completefile
12 INSTALL_SUBDIRS=$(SUBDIRS)
14 SHELLSCRIPTS = ion-edit ion-man ion-runinxterm ion-ssh ion-view \
15 ion-completeman
17 TARGETS=ion-ssh ion-man ion-completeman
19 ######################################
21 include $(TOPDIR)/rules.mk
23 ######################################
25 _install:
26 $(INSTALLDIR) $(SHAREDIR)
27 for i in $(SHELLSCRIPTS); do \
28 $(INSTALL) -m $(BIN_MODE) $$i $(SHAREDIR); \
29 done
31 %: %.in
32 sed 's#@SHAREDIR@#$(SHAREDIR)#g' $< | \
33 sed 's#@VARDIR@#$(VARDIR)#g' > $@
34 chmod $(BIN_MODE) $@