… | |
… | |
28 | first_rule: all |
28 | first_rule: all |
29 | dummy: |
29 | dummy: |
30 | |
30 | |
31 | subdirs = src doc |
31 | subdirs = src doc |
32 | |
32 | |
33 | MKDIR = $(srcdir)/mkinstalldirs |
33 | RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install |
34 | |
34 | |
35 | #------------------------------------------------------------------------- |
35 | #------------------------------------------------------------------------- |
36 | |
36 | |
37 | all allbin alldoc tags: |
37 | $(RECURSIVE_TARGETS): |
38 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
38 | @for I in $(subdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
39 | |
39 | |
40 | distclean realclean: distclean-local |
40 | distclean realclean: distclean-local |
41 | |
|
|
42 | clean distclean realclean: |
|
|
43 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
|
|
44 | |
41 | |
45 | # |
42 | # |
46 | # entry points for other programs |
43 | # entry points for other programs |
47 | # |
44 | # |
48 | rxvt: |
45 | rxvt: |
49 | (cd src; ${MAKE}) |
46 | (cd src; $(MAKE)) |
50 | |
47 | |
51 | #------------------------------------------------------------------------- |
48 | #------------------------------------------------------------------------- |
52 | configure: configure.ac aclocal.m4 config.h.in |
49 | configure: configure.ac aclocal.m4 config.h.in |
53 | cd $(srcdir); ./autogen.sh |
50 | cd $(srcdir); ./autogen.sh |
54 | |
51 | |
… | |
… | |
56 | if test -x config.status; then config.status --recheck; \ |
53 | if test -x config.status; then config.status --recheck; \ |
57 | else $(SHELL) configure; fi |
54 | else $(SHELL) configure; fi |
58 | |
55 | |
59 | config.h.in: configure.ac |
56 | config.h.in: configure.ac |
60 | cd $(srcdir); ./autogen.sh |
57 | cd $(srcdir); ./autogen.sh |
61 | |
|
|
62 | installdirs: |
|
|
63 | $(MKDIR) $(DESTDIR)$(bindir) |
|
|
64 | $(MKDIR) $(DESTDIR)$(mandir) |
|
|
65 | |
|
|
66 | install: installdirs |
|
|
67 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
|
|
68 | |
58 | |
69 | check: all |
59 | check: all |
70 | echo "no tests" |
60 | echo "no tests" |
71 | |
61 | |
72 | Makefiles: |
62 | Makefiles: |