diff options
| author | Richard Lowe <richlowe@richlowe.net> | 2022-04-14 13:44:41 -0500 |
|---|---|---|
| committer | Richard Lowe <richlowe@richlowe.net> | 2022-04-26 15:30:42 -0500 |
| commit | 02b17e23cf5bf66a5ea787e066ae3d1aa49bd856 (patch) | |
| tree | b02fd942153c452aae9e4e5bd6d5bc98598084cb /usr/src/lib/libcurses | |
| parent | 19141168d83c6b9692f40a6885b0c7258161ec6b (diff) | |
| download | illumos-joyent-02b17e23cf5bf66a5ea787e066ae3d1aa49bd856.tar.gz | |
14637 various Makefiles should have more faith in Makefile.master
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
Reviewed by: Andy Fiddaman <andy@omnios.org>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/lib/libcurses')
| -rw-r--r-- | usr/src/lib/libcurses/Makefile | 15 | ||||
| -rw-r--r-- | usr/src/lib/libcurses/Makefile.com | 3 |
2 files changed, 7 insertions, 11 deletions
diff --git a/usr/src/lib/libcurses/Makefile b/usr/src/lib/libcurses/Makefile index df434327f4..f1ebcb2e50 100644 --- a/usr/src/lib/libcurses/Makefile +++ b/usr/src/lib/libcurses/Makefile @@ -62,7 +62,8 @@ CLEANFILES += $(SCRFILES) # limit. maketerm.ed can probably be fixed to prevent this, but it is arguable # if this work would ever be worth it. # -screen/term.check := CSTYLE_TAIL = | grep -v "line > 80 characters" | true +screen/term.check := CSTYLE_TAIL = | $(GREP) -v "line > 80 characters" | \ + $(TRUE) .KEEP_STATE: @@ -81,18 +82,16 @@ scrfiles: $(SCRFILES) $(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) -ED = ed - screen/curses.h: screen/curses.ed screen/keycaps screen/tmp (cd screen; $(ED) - < curses.ed) screen/keycaps: screen/caps - grep "KEY_" screen/caps > screen/keycaps - @if tail -1 screen/keycaps | grep 'KEY_MOUSE' > /dev/null;then :; \ + $(GREP) "KEY_" screen/caps > screen/keycaps + @if tail -1 screen/keycaps | $(GREP) 'KEY_MOUSE' > /dev/null;then :; \ else echo new keys!! must change setkeymap.c; exit 1;fi screen/keyname.c: screen/keyname.sh screen/keycaps - (cd screen; sh keyname.sh) + (cd screen; $(SH) keyname.sh) screen/termcap.c: screen/termcap.ed (cd screen; $(ED) - < termcap.ed) @@ -109,8 +108,8 @@ screen/term.h: screen/maketerm.ed (cd screen; $(ED) - < maketerm.ed) screen/tmp: - rm -rf $@ - mkdir $@ + $(RM) -r $@ + $(MKDIR) $@ CLEANFILES += \ screen/tmp/keycaps \ diff --git a/usr/src/lib/libcurses/Makefile.com b/usr/src/lib/libcurses/Makefile.com index 2082f3b634..daa2120eba 100644 --- a/usr/src/lib/libcurses/Makefile.com +++ b/usr/src/lib/libcurses/Makefile.com @@ -151,9 +151,6 @@ LDLIBS += -lc CPPFLAGS += -I../screen -I../../common/inc -ED = ed -RM = rm -f - # # If and when somebody gets around to messaging this, CLOBBERFILE should not # be cleared (so that any .po file will be clobbered. |
