forked from Openwsman/openwsman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
47 lines (37 loc) · 1.23 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# Makefile.am for openwsman
#
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = include src doc etc bindings
if BUILD_EXAMPLES
SUBDIRS += examples
endif
if BUILD_TESTS
SUBDIRS += tests
endif
AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2
wsmanincludedir = $(includedir)/openwsman
#wsmaninclude_HEADERS = wsman_config.h
package: dist
cp openwsman.spec /usr/src/packages/SPEC
cp openwsman-*.tar.bz2 /usr/src/packages/SOURCES
cp package/openwsman.rpmlintrc /usr/src/packages/SOURCES
cp package/openwsman-pam-auth.patch /usr/src/packages/SOURCES
rpmbuild -ba openwsman.spec
etags: TAGS
find . -name "*.[chCH]" -print | etags -
install-data-local: openwsman.pc
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL_DATA) openwsman.pc $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL_DATA) openwsman++.pc $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL_DATA) openwsman-server.pc $(DESTDIR)$(libdir)/pkgconfig
uninstall-local:
rm $(DESTDIR)$(libdir)/pkgconfig/openwsman.pc
rm $(DESTDIR)$(libdir)/pkgconfig/openwsman++.pc
rm $(DESTDIR)$(libdir)/pkgconfig/openwsman-server.pc
EXTRA_DIST = OpenWsmanLib.vcproj OpenWsmanLib.sln autoconfiscate.sh \
package/openwsman.rpmlintrc package/openwsman.spec.in \
package/openwsman-pam-auth.patch \
m4
dist-hook:
-rm $(distdir)/m4/*.m4