Merge branch 'contrib_goto_focus'
[notion.git] / utils / Makefile
blob60ff77bfdff59202c285ef7de0c5e42975238558
1 ##
2 ## Notion utils/ Makefile
3 ##
5 # System-specific configuration is in system.mk
6 TOPDIR=..
7 include $(TOPDIR)/build/system-inc.mk
9 ######################################
11 SUBDIRS=ion-completefile ion-statusd
12 INSTALL_SUBDIRS=$(SUBDIRS)
14 SHELLSCRIPTS = ion-runinxterm ion-completeman notion-lock
16 TARGETS = ion-completeman
18 ######################################
20 include $(TOPDIR)/build/rules.mk
22 ######################################
24 _install:
25 $(INSTALLDIR) $(DESTDIR)$(SHAREDIR)
26 for i in $(SHELLSCRIPTS); do \
27 $(INSTALL) -m $(BIN_MODE) $$i $(DESTDIR)$(SHAREDIR); \
28 done
30 %: %.in
31 sed 's#@SHAREDIR@#$(SHAREDIR)#g' $< | \
32 sed 's#@VARDIR@#$(VARDIR)#g' > $@
33 chmod $(BIN_MODE) $@