upstream_base = https://hg.mozilla.org/projects/nss/raw-file upstream_tag = NSS_$$(printf '%s' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ tr '.' '_')_RTM upstream_path = lib/ckfw/builtins/certdata.txt upstream_url = $(upstream_base)/$(upstream_tag)/$(upstream_path) ../src/certdata.txt: mkdir -p ../src/ wget -O ../src/certdata.txt "$(upstream_url)" source: ../src/certdata.txt