Skip to content

Commit 5ca19c6

Browse files
committed
Added system-install rule
1 parent 6d9a818 commit 5ca19c6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Makefile.am

+20
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ SUBDIRS = .
88
SUBDIRS += src
99
SUBDIRS += include
1010

11+
system-install:
12+
mkdir -p .system-install
13+
cd .system-install && ../../configure \
14+
--enable-all-features \
15+
--program-prefix= \
16+
--prefix=/usr \
17+
--exec-prefix=/usr \
18+
--bindir=/usr/bin \
19+
--sbindir=/usr/sbin \
20+
--sysconfdir=/etc \
21+
--datadir=/usr/share \
22+
--includedir=/usr/include \
23+
--libdir=/usr/lib \
24+
--libexecdir=/usr/libexec \
25+
--localstatedir=/var \
26+
--sharedstatedir=/var/lib \
27+
--mandir=/usr/share/man \
28+
--infodir=/usr/share/info
29+
cd .system-install && make -j4 install
30+
1131
rpm: dist
1232
rm -rf `pwd`/RPMBUILD && rm -rf `pwd`/RPMS; \
1333
mkdir -p `pwd`/RPMBUILD/{BUILD,SOURCES,RPMS,SRPMS,SPECS}; \

0 commit comments

Comments
 (0)