-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 755 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 755 Bytes
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
#!/usr/bin/make -f
# This file is part of ipset-persistent
# Copyright (C) 2018 Adrian Ban
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, either version 3
# of the License, or (at your option) any later version.
PREFIX=/
DEST=$(DESTDIR)$(PREFIX)
all:
clean:
install:
install -d $(DEST)/usr/sbin
install -d $(DEST)/usr/share/netfilter-persistent
install -d $(DEST)/usr/share/netfilter-persistent/plugins.d
# Manual
install -d $(DEST)/usr/share/man/man8
install --mode=644 ipset-persistent.8 $(DEST)/usr/share/man/man8
install-plugins:
# Plugins
install plugins/* $(DEST)/usr/share/netfilter-persistent/plugins.d