Skip to content

Commit

Permalink
am: Enable silent build rules by default
Browse files Browse the repository at this point in the history
Now that we already require an Automake version younger than
the one which introduced AM_SILENT_RULES, we can make use of
them.
  • Loading branch information
ndim committed Sep 18, 2024
1 parent a2a1227 commit 3d7c165
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ sed_in_commands += -e 's|[@]MKE2FS@|$(MKE2FS)|g'

SUFFIXES += .1.in .1
.1.in.1:
$(MKDIR_P) $(@D)
$(SED) $(sed_in_commands) < $< > $@
@$(MKDIR_P) $(@D)
$(AM_V_GEN)$(SED) $(sed_in_commands) < $< > $@

SUFFIXES += .sh.in .sh
.sh.in.sh:
$(MKDIR_P) $(@D)
$(SED) $(sed_in_commands) < $< > $@
$(CHMOD) +x $@
@$(MKDIR_P) $(@D)
$(AM_V_GEN)$(SED) $(sed_in_commands) < $< > $@
@$(CHMOD) +x $@


########################################################################
Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ AM_INIT_AUTOMAKE([
subdir-objects
])

AM_SILENT_RULES([yes])


dnl ====================================================================
dnl Checks for programs.
Expand Down

0 comments on commit 3d7c165

Please sign in to comment.