-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.am
31 lines (23 loc) · 876 Bytes
/
Makefile.am
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
#
# Brother sane backend Driver
#
# Copyright (C) 2017 Norbert Eicker <norbert.eicker@gmx.de>
#
# This file may be distributed under the terms of the GNU GENERAL PUBLIC LICENSE
# as defined in the file Copying included in the packaging of this file.
#
include $(top_srcdir)/common.am
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = include/sane libsane-brother brsaneconfig libbrcolm libbrscandec
# EXTRA_DIST = Copying copying.brother README tests/psid
dist_noinst_DATA = Copying copying.brother brscan.spec
pkgexecdir = $(libexecdir)/brscan
dist_pkgexec_SCRIPTS = data/setupSaneScan
brscandatadir = $(datadir)/sane/brother
dist_brscandata_DATA = data/brsanenetdevice.cfg data/Brsane.ini
.PHONY: rpm
rpm: dist
rpmbuild -ta --clean --define="_srcrpmdir $$PWD" \
--define "_rpmdir $$PWD" \
--define="_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
$(DIST_ARCHIVES)