File: Makefile.am

package info (click to toggle)
aeskulap 0.2.2b1+git20161206-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,840 kB
  • ctags: 1,302
  • sloc: cpp: 8,894; sh: 5,551; ansic: 685; makefile: 317; xml: 25
file content (84 lines) | stat: -rw-r--r-- 2,919 bytes parent folder | download | duplicates (3)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = \
	po \
	configuration \
	imagepool \
	widgets \
	src \
	pixmaps

DIST_SUBDIRS = \
	po \
	configuration \
	imagepool \
	widgets \
	src \
	packaging \
	pixmaps

EXTRA_DIST = \
	AUTHORS \
	COPYING \
	COPYING.LIB \
	INSTALL \
	README \
	aeskulap.cbp \
	aeskulap.workspace \
	gettext.h \
	intltool-extract.in \
	intltool-merge.in \
	intltool-update.in \
	configure.mingw32

DISTCLEANFILES = \
	intltool-extract \
	intltool-merge \
	intltoo-update

@INTLTOOL_DESKTOP_RULE@

distclean: distclean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -f Makefile

rpm: dist
	mkdir -p rpmbuild
	cp $(PACKAGE)-$(VERSION).tar.gz rpmbuild
	rpmbuild --buildroot rpmbuild -ba packaging/rpm/$(PACKAGE).spec

dist-win32:
	-rm -Rf /tmp/$(PACKAGE)-$(VERSION)
	make prefix=/tmp/$(PACKAGE)-$(VERSION)$(prefix) install-strip
	-cp -R -f /tmp/$(PACKAGE)-$(VERSION)$(prefix)/* /tmp/$(PACKAGE)-$(VERSION)
	-rm -Rf /tmp/$(PACKAGE)-$(VERSION)$(prefix)
	-rm -Rf /tmp/$(PACKAGE)-$(VERSION)/usr
	if [ -f /tmp/$(PACKAGE)-$(VERSION)/bin/$(target_alias)-aeskulap.exe ] ; then \
	    mv /tmp/$(PACKAGE)-$(VERSION)/bin/$(target_alias)-aeskulap.exe /tmp/$(PACKAGE)-$(VERSION)/bin/aeskulap.exe ; \
	fi
	for i in ofstd ijg8 ijg12 ijg16 dcmjpeg dcmdata dcmnet dcmimgle dcmimage dcmtls ; do \
	    cp $(prefix)/bin/lib$$i.dll /tmp/$(PACKAGE)-$(VERSION)/bin ; \
	done
	-cp -f $(prefix)/lib/dicom.dic /tmp/$(PACKAGE)-$(VERSION)
	-cp -f $(top_srcdir)/COPYING /tmp/$(PACKAGE)-$(VERSION)/license.txt
	-cp -f $(top_srcdir)/packaging/win32/aeskulap.iss /tmp/$(PACKAGE)-$(VERSION)
	-cp -f $(top_srcdir)/packaging/win32/aeskulap-setup-small.bmp /tmp/$(PACKAGE)-$(VERSION)
	-cp -f $(top_srcdir)/packaging/win32/aeskulap-setup-large.bmp /tmp/$(PACKAGE)-$(VERSION)
	-cp -f /tmp/$(PACKAGE)-$(VERSION)/share/icons/hicolor/48x48/apps/aeskulap.png  /tmp/$(PACKAGE)-$(VERSION)/share/aeskulap/images
	$(shell) $(STRIP) -g -S -d --strip-debug --strip-unneeded -x -X --remove-section=.comment --remove-section=.note /tmp/$(PACKAGE)-$(VERSION)/bin/*.exe
	$(shell) $(STRIP) -g -S -d --strip-debug --strip-unneeded -x -X --remove-section=.comment --remove-section=.note /tmp/$(PACKAGE)-$(VERSION)/bin/*.dll
	-mv /tmp/$(PACKAGE)-$(VERSION)/bin/* /tmp/$(PACKAGE)-$(VERSION)
	-rm -Rf /tmp/$(PACKAGE)-$(VERSION)/bin
	-cp -R -f /tmp/$(PACKAGE)-$(VERSION)/lib/locale /tmp/$(PACKAGE)-$(VERSION)/share
	-rm -Rf /tmp/$(PACKAGE)-$(VERSION)/lib
	-rm -f /tmp/$(PACKAGE)-$(VERSION)/share/icons/hicolor/icon-theme.cache
	-rm -Rf /tmp/$(PACKAGE)-$(VERSION)/share/applications
	cd /tmp && zip -r -9 $(PACKAGE)-$(VERSION).zip $(PACKAGE)-$(VERSION)
	-rm -Rf /tmp/$(PACKAGE)-$(VERSION)
	mv /tmp/$(PACKAGE)-$(VERSION).zip .

push-dist: dist
	scp $(PACKAGE)-$(VERSION).tar.gz pipelka@www.bms-austria.com:/home/pipelka/public_html/aeskulap

push-dist-win32: dist-win32
	scp $(PACKAGE)-$(VERSION).zip pipelka@www.bms-austria.com:/home/pipelka/public_html/aeskulap/win32