aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 29e2acecedce364e055679cca7b244fe649b13fa (plain) (blame)
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
## Process this file with automake to produce Makefile.in

SUBDIRS = doc po src

desktopdir = $(datadir)/applications
desktop_in_files = gnunet-gtk.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

EXTRA_DIST = \
	bootstrap \
	gnunet-gtk.glade

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
	$(INSTALL_DATA) gnunet-gtk.glade $(DESTDIR)$(pkgdatadir)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
	for pixmap in $(srcdir)/pixmaps/*; do \
	  if test -f $$pixmap; then \
	    $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir); \
	  fi \
	done

dist-hook:
	if test -d pixmaps; then \
	  mkdir $(distdir)/pixmaps; \
	  for pixmap in pixmaps/*; do \
	    if test -f $$pixmap; then \
	      cp -p $$pixmap $(distdir)/pixmaps; \
	    fi \
	  done \
	fi


ACLOCAL_AMFLAGS = -I m4