Upgrade to version 1.0.7.6
[texmacs.git] / server / Makefile.in
blob79d5def990f2e6952fc2ee07911b194fcdd055c9
2 ###############################################################################
3 # MODULE : main make file for the TeXmacs daemon
4 # BY : Joris van der Hoeven
5 # COPYRIGHT : This software falls under the GNU general public license;
6 # see the file 'LICENSE', which is provided with this package.
7 ###############################################################################
9 prefix = @prefix@
10 bindir = @bindir@
11 datadir = @datadir@
12 mandir = @mandir@
14 DESTDIR =
16 MKDIR = mkdir -p
17 RM = rm -f
18 CP = cp -r -f
19 MV = mv -f
20 LN = ln -f
21 CHMOD = chmod -f
23 all:
24 $(CHMOD) 755 bin/texmacsd
25 $(CHMOD) 755 bin/tm-client
27 install:
28 $(MKDIR) $(DESTDIR)$(datadir)
29 $(MKDIR) $(DESTDIR)$(datadir)/texmacsd
30 $(CP) progs $(DESTDIR)$(datadir)/texmacsd
31 @echo installed scheme programs in $(DESTDIR)$(datadir)/texmacsd
32 $(MKDIR) $(DESTDIR)$(bindir)
33 $(CP) bin/texmacsd $(DESTDIR)$(bindir)
34 @echo installed texmacsd script in $(DESTDIR)$(bindir)
35 @echo ----------------------------------------------------
36 @echo texmacsd has been successfully installed
38 uninstall:
39 $(RM) -r $(datadir)/texmacsd
40 @echo removed scheme programs from $(datadir)/texmacsd
41 $(RM) $(bindir)/texmacsd
42 @echo removed startup script from $(bindir)
43 @echo ----------------------------------------------------
44 @echo texmacsd has been successfully removed
46 .PHONY: install uninstall
48 clean:
49 $(RM) *~
50 $(RM) */*~
51 $(RM) */*/*~
52 $(RM) -r autom*.cache
54 distclean: clean
55 $(RM) bin/texmacsd
56 $(RM) bin/tm-client
57 $(RM) Makefile
59 .PHONY: clean distclean