summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/corpix/uarand/useragents.mk
blob: 2e2e457bde82e429e5d1f2627df146035674c3e8 (plain)
1
2
3
4
5
6
7
8
9
10
.PHONY: useragents.go
useragents.go:
	curl -Ls -H'User-Agent: gotohellwithyour403'                            \
		http://techpatterns.com/downloads/firefox/useragentswitcher.xml \
	| ./scripts/extract-user-agents                                         \
	| ./scripts/generate-useragents-go $(name)                              \
	> $@
	go fmt $@

dependencies:: useragents.go