aboutsummaryrefslogtreecommitdiff
path: root/contrib/Makefile.am
blob: 0d40e9b83d5d4ce60a7e0fb5b384fcf8ef09f602 (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
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
# Process this file with automake to produce Makefile.in

SUBDIRS = .

pkgpixdir= $(pkgdatadir)

IMAGES = \
 gnunet-setup-oxygen-cancel.png \
 gnunet-setup-oxygen-ok.png 

EXTRA_DIST = \
  $(pkgdata_DATA) \
  $(IMAGES)

pkgdata_DATA = \
  gnunet_fs_gtk_about_dialog.glade \
  gnunet_fs_gtk_advertise_pseudonym_dialog.glade \
  gnunet_fs_gtk_create_namespace_dialog.glade \
  gnunet_fs_gtk_download_as_dialog.glade \
  gnunet_fs_gtk_main_window.glade \
  gnunet_fs_gtk_open_directory_dialog.glade \
  gnunet_fs_gtk_open_url_dialog.glade \
  gnunet_fs_gtk_publish_dialog.glade \
  gnunet_fs_gtk_publish_directory_dialog.glade \
  gnunet_fs_gtk_publish_edit_dialog.glade \
  gnunet_fs_gtk_publish_file_dialog.glade \
  gnunet_fs_gtk_publish_tab.glade \
  gnunet_fs_gtk_search_dialog.glade \
  gnunet_fs_gtk_search_tab.glade \
  gnunet_fs_gtk_select_pseudonym_dialog.glade \
  gnunet_gtk_status_bar_menu.glade \
  gnunet_peerinfo_gtk_about_dialog.glade \
  gnunet_peerinfo_gtk_main_window.glade \
  gnunet_statistics_gtk_about_dialog.glade \
  gnunet_statistics_gtk_main_window.glade \
  gnunet_setup_gtk_main_window.glade \
  gnunet_fs_gtk_about_window.glade

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(pkgpixdir)
	$(mkinstalldirs) $(DESTDIR)$(pkgpixdir)/flags
	@$(NORMAL_INSTALL)
	for pixmap in $(IMAGES); do \
	  if test -f $$pixmap; then \
	    $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgpixdir); \
	  fi \
	done
	for flag in $(srcdir)/flags/*.png; do \
	  if test -f $$flag; then \
	    $(INSTALL_DATA) $$flag $(DESTDIR)$(pkgpixdir)/flags/ ; \
	  fi \
	done

dist-hook:
	if test -d $(srcdir)/flags; then \
	  mkdir -p $(distdir)/flags; \
	  for flag in $(srcdir)/flags/*.png; do \
	    if test -f $$flag; then \
	      cp -p $$flag $(distdir)/flags; \
	    fi \
	  done \
	fi