-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
70 lines (61 loc) · 1.57 KB
/
Makefile
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
60
61
62
63
64
65
66
67
68
69
70
###############################################################################
# NAME: Makefile
#
# AUTHOR: Ethan D. Twardy <edtwardy@mtu.edu>
#
# DESCRIPTION: Makefile for the edtwardy-webservices package
#
# CREATED: 04/26/2021
###
# Setup for build directory
BUILD_DIR = build
B := $(shell pwd)/$(BUILD_DIR)
$(shell mkdir -p $(B))
SUBDIRS += common
SUBDIRS += nginx
SUBDIRS += jellyfin
SUBDIRS += prowlarr
SUBDIRS += qbittorrent
SUBDIRS += tftp
SUBDIRS += yocto
SUBDIRS += vps
SUBDIRS += vpn
SUBDIRS += openldap
SUBDIRS += jenkins
SUBDIRS += redirect
SUBDIRS += blog
SUBDIRS += docs
SUBDIRS += postgresql
SUBDIRS += tandoor
SUBDIRS += weechat
SUBDIRS += miniflux
SUBDIRS += cimmeria
SUBDIRS += jellyfin-homevideos
SUBDIRS += homeassistant
SUBDIRS += data
# Mask these packages for now. The applications don't work for one reason or
# another.
# SUBDIRS += compilations
# SUBDIRS += dns
# SUBDIRS += budget-tool
all: build-subdirs
.PHONY: force
BUILD_TARGETS += force
include declarations.mk
install: install-subdirs
clean: clean-subdirs
rm -rf $(B)
rm -rf debian/.debhelper
rm -f debian/debhelper-build-stamp
rm -f debian/files
rm -rf debian/tmp
rm -f debian/*.substvars
$(foreach subdir,$(SUBDIRS),rm -rf debian/twardyece-$(subdir))
#------------------------------------------------------------------------------
# Packaging
#------------------------------------------------------------------------------
package:
dpkg-buildpackage --no-sign -A -d
reinstall:
dpkg -i ../$(PACKAGE)*.deb
#------------------------------------------------------------------------------