Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
ghetto debian packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Blot committed Oct 13, 2017
1 parent a2bf2e7 commit 5969073
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ debian:

help:
@awk -F ':|##' '/^[^\t].+?:.*?##/ { printf "\033[36m%-30s\033[0m %s\n", $$1, $$NF }' $(MAKEFILE_LIST) | sort

.PHONY: debian
6 changes: 5 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ override_dh_auto_build:
make -C src

override_dh_auto_install:
make -C src install
dh_testdir
dh_testroot
dh_installdirs
mkdir -p debian/snuffleupagus/$$(/usr/bin/php-config --extension-dir)/
install -m 644 -o root -g root src/modules/snuffleupagus.so debian/snuffleupagus/$$(/usr/bin/php-config --extension-dir)/snuffleupagus.so

override_dh_auto_test:
TEST_PHP_ARGS="-q" REPORT_EXIST_STATUS=1 make -C src test

0 comments on commit 5969073

Please sign in to comment.