aboutsummaryrefslogtreecommitdiff
path: root/contrib/Makefile.am
blob: 41f0fe03b75d87cfd20e33aee967f5e7d9154431 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# 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 = \
  gnunet-fs-gtk.protocol \
  gnunet-fs-gtk-gnome.sh \
  $(pkgdata_DATA) \
  $(IMAGES)

pkgdata_DATA = \
  $(IMAGES) \
  qr_dummy.png \
  downloading.gif \
  downloading_not_receiving.gif \
  downloaded.gif \
  error.gif \
  found_source.gif \
  published.gif \
  publishing.gif \
  red.png \
  green.png \
  searching_sources.gif \
  gnunet_gtk.glade \
  gnunet_fs_gtk_about_window.glade \
  gnunet_fs_gtk_download_as_dialog.glade \
  gnunet_fs_gtk_main_window.glade \
  gnunet_fs_gtk_edit_publication.glade \
  gnunet_fs_gtk_enter_nick_dialog.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_file_dialog.glade \
  gnunet_fs_gtk_publish_tab.glade \
  gnunet_fs_gtk_search_tab.glade \
  gnunet_fs_gtk_unindex.glade \
  gnunet_fs_gtk_pseu_progress_dialog.glade \
  gnunet_fs_gtk_progress_dialog.glade \
  gnunet_gtk_status_bar_menu.glade \
  gnunet_identity_gtk_about_window.glade \
  gnunet_identity_gtk_advertise_dialog.glade \
  gnunet_identity_gtk_main_window.glade \
  gnunet_peerinfo_gtk_about_window.glade \
  gnunet_peerinfo_gtk_main_window.glade \
  gnunet_statistics_gtk_about_window.glade \
  gnunet_statistics_gtk_main_window.glade \
  gnunet_setup_calendar_dialog.glade \
  gnunet_setup_main_window.glade \
  gnunet_namestore_gtk_main_window.glade \
  gnunet_namestore_gtk_qr_save_as_dialog.glade \
  gnunet_namestore_edit_a.glade \
  gnunet_namestore_edit_aaaa.glade \
  gnunet_namestore_edit_cname.glade \
  gnunet_namestore_edit_gns2dns.glade \
  gnunet_namestore_edit_leho.glade \
  gnunet_namestore_edit_mx.glade \
  gnunet_namestore_edit_phone.glade \
  gnunet_namestore_edit_pkey.glade \
  gnunet_namestore_edit_ptr.glade \
  gnunet_namestore_edit_soa.glade \
  gnunet_namestore_edit_srv.glade \
  gnunet_namestore_edit_txt.glade \
  gnunet_namestore_edit_vpn.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