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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
#! /usr/bin/make -f
# Makefile
# 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 for reportbug project
SHELL = /bin/bash
PATH = /usr/bin:/bin
# Directories with semantic meaning
CODE_PACKAGE_DIR := .
CODE_PROGRAM_DIR := .
TEST_DIR := test
# Variables that will be extended by module include files
GENERATED_FILES :=
CODE_MODULES :=
CODE_PROGRAMS :=
# List of modules (directories) that comprise our 'make' project
MODULES += ${CODE_PACKAGE_DIR}
MODULES += ${TEST_DIR}
RM = rm
.PHONY: all
all: build
.PHONY: build
build:
.PHONY: install
install: build
.PHONY: clean
clean:
$(RM) -rf ${GENERATED_FILES}
.PHONY: test
test:
.PHONY: qa
qa:
# Include the make data for each module
include $(patsubst %,%/module.mk,${MODULES})
.PHONY: checks
checks:
PYTHONPATH=. $(PYTHON) checks/compare_pseudo-pkgs_lists.py
|