Skip to content

Commit

Permalink
properly run upstream make file 'make clean'
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Jul 18, 2016
1 parent 01b7cbb commit 0e6e6b4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions make-helper-overrides.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ make_install() {

make -f Makefile_orig PREFIX=/usr SYSTEM=/lib/systemd/system DESTDIR="$DESTDIR" install install-systemd install-qubes
}

make_deb-cleanup_hook_pre() {
## Get rid of systemd/corridor-data.service etc.
make -f Makefile_orig PREFIX=/usr SYSTEM=/lib/systemd/system DESTDIR="$DESTDIR" clean
}

make_clean_hook_pre() {
make_deb-cleanup_hook_pre
}

2 comments on commit 0e6e6b4

@rustybird
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to set any variables for the clean target

@adrelanos
Copy link
Owner

@adrelanos adrelanos commented on 0e6e6b4 Jul 18, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.