diff options
Diffstat (limited to 'build.mk')
| -rw-r--r-- | build.mk | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,7 +2,6 @@ # # TODO: # - rules for pre-req dependencies -# - rules to build patches from .orig # - rules to run tests before installing # - build and run in chroot # - detect inflate command @@ -42,6 +41,9 @@ debug: @echo arc = $(arc) @echo dir = $(dir) +genpatch: + find $(dir) -name *.orig | while read -r f; do diff -u $$f $${f%.orig}; done > $(dir).patch || true + uninstall: .install cd $(dir) && $(uninstall_cmd) rm .install @@ -76,3 +78,4 @@ fetch: .fetch .fetch: $(fetch_cmd) @touch $@ + |
