debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | include /usr/share/dpkg/architecture.mk |
| 4 | |
| 5 | ifeq ($(DEB_HOST_ARCH),amd64) |
| 6 | confflags += --with-pcre |
| 7 | else ifeq ($(DEB_HOST_ARCH),i386) |
| 8 | confflags += --with-pcre |
| 9 | else ifeq ($(DEB_HOST_ARCH),x32) |
| 10 | confflags += --with-pcre |
| 11 | endif |
| 12 | |
| 13 | %: |
| 14 | dh $@ |
| 15 | |
| 16 | override_dh_auto_configure: |
| 17 | dh_auto_configure -- $(confflags) |
| 18 | |
| 19 | override_dh_clean: |
| 20 | dh_clean |
| 21 | rm -f po/stamp-po |
| 22 | rm -rf `find po -type f -name *.gmo` |
| 23 |