/usr/share/globus/amdir/pkgdata_Makefile.am is in grid-packaging-tools 3.6.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | include $(top_srcdir)/globus_automake_pre
FILELIST_FILES = noflavor_data.filelist \
$(GLOBUS_FLAVOR_NAME)_dev.filelist \
noflavor_doc.filelist \
$(GLOBUS_FLAVOR_NAME)_pgm.filelist \
$(GLOBUS_FLAVOR_NAME)_pgm_static.filelist \
$(GLOBUS_FLAVOR_NAME)_rtl.filelist
METADATA_FILES = \
pkg_data_noflavor_data.gpt \
pkg_data_$(GLOBUS_FLAVOR_NAME)_dev.gpt \
pkg_data_noflavor_doc.gpt \
pkg_data_$(GLOBUS_FLAVOR_NAME)_pgm.gpt \
pkg_data_$(GLOBUS_FLAVOR_NAME)_pgm_static.gpt \
pkg_data_$(GLOBUS_FLAVOR_NAME)_rtl.gpt
pkg_DATA = $(FILELIST_FILES) $(METADATA_FILES)
pkgconfdir = @pkgconfdir@
## pkgconf = [ DATA ]
pkgconf_DATA = @pkgconffile@
filelist_file: $(MAKEFILE_AMS)
@for p in $(FILELIST_FILES); do \
if test -f "$$p"; then \
rm -f $$p; \
fi; \
done
$(pkg_DATA): all_filelists
all_filelists: filelist_file
@(cd .. && $(MAKE) $(AM_MAKEFLAGS) filelist) \
## This trick allows "-k" to keep its natural meaning when running a
## recursive rule.
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;
#
# Override the normal install target to avoid dying when a given
# kind of metadata file is missing by calling "true"
install-pkgDATA: $(pkg_DATA)
@$(NORMAL_INSTALL)
test -z "$(pkgdir)" || $(mkinstalldirs) "$(DESTDIR)$(pkgdir)";
@list='$(pkg_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=`echo $$p | sed -e 's|^.*/||'`; \
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pkgdir)/$$f'"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pkgdir)/$$f"; \
done || true
@list='$(pkg_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=`echo $$p | sed -e 's|^.*/||'`; \
if expr $$p : '.*filelist$$' > /dev/null ; then \
if test `cat $$d$$p | wc -l` = 2; then \
listtype=`echo "$$p" | sed -e 's!\.filelist!!'`; \
rm "$(DESTDIR)$(pkgdir)/$$f" ; \
rm "$(DESTDIR)$(pkgdir)/pkg_data_$${listtype}.gpt"; \
fi ; \
fi; \
done || true
$(METADATA_FILES): pkg_data_src.gpt
@$(GPT_LOCATION)/sbin/gpt_generate_bin_pkg_data \
--flavor=$(GLOBUS_FLAVOR_NAME) pkg_data_src.gpt
EXTRA_DIST = $(pkgconffile_in)
distclean-local:
@if test -f master.filelist; then \
rm *.filelist; \
fi; \
if test -f pkg_data_noflavor_data.gpt; then \
rm pkg_data_*.gpt; \
fi
include $(top_srcdir)/globus_automake_post
|