~vcs-imports-ii/znc/master

« back to all changes in this revision

Viewing changes to modules/modtcl/Makefile.inc

  • Committer: Uli Schlachter
  • Date: 2011-02-17 16:45:46 UTC
  • Revision ID: git-v1:2dcf79cedc552cf888ea2840820f48593081446e
Move modtcl into modules/

If you did ./configure --enable-tcl, tcl wasn't actually enabled because
--enable-extra was missing, That's less than optimal.

Just moving modtcl out of modules/extra solves this problem.

Big thanks go to zynox/kylef for noticing this!

Signed-off-by: Uli Schlachter <psychon@znc.in>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ifeq "$(TCL_FLAGS)" ""
 
2
FILES       := $(shell echo $(FILES) | sed -e "s:modtcl::")
 
3
else
 
4
TCLHOOK     := modtcl_install
 
5
endif
 
6
modtclFLAGS := $(TCL_FLAGS)
 
7
 
 
8
.PHONY: modtcl_install
 
9
 
 
10
install: $(TCLHOOK)
 
11
 
 
12
modtcl_install:
 
13
        mkdir -p $(DESTDIR)$(DATADIR)/modtcl/
 
14
        $(INSTALL_DATA) $(srcdir)/modtcl/modtcl.tcl $(srcdir)/modtcl/binds.tcl $(DESTDIR)$(DATADIR)/modtcl/