Skip to content

Commit 6753052

Browse files
author
Sam Kleinman
committed
build: correcting build output and makefile builder
1 parent 843eda6 commit 6753052

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

bin/makefile-builder/tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ def build_all_tables(tables):
2424
m.msg('[tables]: clensing git index of compiled tables', block='footer')
2525
m.newline(block='footer')
2626
m.target('clean-tables', block='footer')
27-
m.job('rm -rf $(output-tables)', ignore=True, display=True)
27+
m.job('rm -rf $(output-tables)', display=False, ignore=True, block='footer')
2828

2929
def makefile_table(name, block):
3030
m.append_var('output-tables', name + '.rst', block)
3131
m.target(name + '.rst', name + '.yaml' , block)
32-
m.job('$(PYTHONBIN) bin/table_builder.py $< $@', block)
32+
m.job('$(PYTHONBIN) bin/table_builder.py $< $@', display=False, ignore=False, block=block)
3333
m.msg('[table-builder]: \(re\)generate $@ table for inclusion in build', block)
3434
m.newline(block=block)
3535

makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ $(manpages):man
161161
$(branch-output)/man/%.1.gz: $(branch-output)/man/%.1
162162
@gzip $< -c > $@
163163
@echo [man]: compressing $< -- $@
164-
$(branch-output)/manpages.tar.gz:$(manpages)
165-
@tar -C $(branch-output)/ --transform=s/man/mongodb-manpages/ -czvf $@ $(subst $(branch-output)/,,$(manpages))
164+
$(branch-output)/manpages.tar.gz:man
165+
@touch $@.log
166+
@tar -C $(branch-output)/ --transform=s/man/mongodb-manpages/ \
167+
-czvf $@ $(subst $(branch-output)/,,$(manpages)) >> [email protected]
166168
@echo [man]: created $@ archive of all manpages

0 commit comments

Comments
 (0)