File: module.mk

package info (click to toggle)
reportbug 4.12.6%2Bdeb6u1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 804 kB
  • ctags: 708
  • sloc: python: 7,789; makefile: 78; sh: 32; lisp: 31
file content (28 lines) | stat: -rw-r--r-- 874 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# :vim: filetype=make : -*- makefile; coding: utf-8; -*-

# module.mk
# Part of reportbug, a Debian bug reporting tool.
#
# Copyright © 2008 Ben Finney <ben+debian@benfinney.id.au>
# This is free software; you may copy, modify and/or distribute this work
# under the terms of the GNU General Public License, version 2 or later.
# No warranty expressed or implied. See the file LICENSE for details.

# Makefile module for reportbug Python package

MODULE_DIR := .

CODE_MODULES += $(shell find ${CODE_PACKAGE_DIR} \
	-path ${CODE_PACKAGE_DIR}/${TEST_DIR} -prune -o \
	-name '*.py' -print)

CODE_PROGRAM_NAMES += reportbug
CODE_PROGRAM_NAMES += querybts
CODE_PROGRAM_NAMES += handle_bugscript
CODE_PROGRAM_NAMES += script

CODE_PROGRAMS += $(addprefix ${CODE_PROGRAM_DIR}/,${CODE_PROGRAM_NAMES})

GENERATED_FILES += $(shell find ${MODULE_DIR} -name '*.pyc')

PYTHON = python