… | |
… | |
44 | |
44 | |
45 | VERNAME = rxvt-unicode-$(VERSION) |
45 | VERNAME = rxvt-unicode-$(VERSION) |
46 | |
46 | |
47 | srcdir = @srcdir@ |
47 | srcdir = @srcdir@ |
48 | VPATH = @srcdir@ |
48 | VPATH = @srcdir@ |
49 | .PATH: @srcdir@ |
|
|
50 | |
49 | |
51 | first_rule: all |
50 | first_rule: all |
52 | dummy: |
51 | dummy: |
53 | |
52 | |
54 | subdirs = src doc |
53 | subdirs = src doc |
55 | allsubdirs = $(subdirs) |
|
|
56 | |
|
|
57 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
|
|
58 | |
54 | |
59 | MKDIR = $(srcdir)/mkinstalldirs |
55 | MKDIR = $(srcdir)/mkinstalldirs |
60 | |
56 | |
61 | #------------------------------------------------------------------------- |
57 | #------------------------------------------------------------------------- |
62 | |
58 | |
… | |
… | |
71 | # |
67 | # |
72 | # entry points for other programs |
68 | # entry points for other programs |
73 | # |
69 | # |
74 | rxvt: |
70 | rxvt: |
75 | (cd src; ${MAKE}) |
71 | (cd src; ${MAKE}) |
76 | |
|
|
77 | tests: |
|
|
78 | (cd src/test; ${MAKE} tests) |
|
|
79 | |
72 | |
80 | #------------------------------------------------------------------------- |
73 | #------------------------------------------------------------------------- |
81 | configure: configure.ac aclocal.m4 config.h.in |
74 | configure: configure.ac aclocal.m4 config.h.in |
82 | cd $(srcdir); ./autogen.sh |
75 | cd $(srcdir); ./autogen.sh |
83 | |
76 | |
… | |
… | |
101 | Makefiles: |
94 | Makefiles: |
102 | $(SHELL) config.status |
95 | $(SHELL) config.status |
103 | |
96 | |
104 | cleandir: realclean |
97 | cleandir: realclean |
105 | |
98 | |
106 | # distclean goal is for making a clean source tree, but if you have run |
|
|
107 | # configure from a different directory, then doesn't destroy all your |
|
|
108 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
|
|
109 | # In that case most of those commands do nothing, except cleaning *~ |
|
|
110 | # and cleaning source links. |
|
|
111 | distclean-local: |
99 | distclean-local: |
112 | rm -f *~ config.cache config.h config.log config.status libtool |
100 | rm -f *~ config.cache config.h config.log config.status libtool |
113 | rm -f Makefile |
101 | rm -f Makefile |
114 | |
102 | |
115 | distdir: |
103 | distdir: |