diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-03-23 21:21:06 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-03-23 21:21:06 +0100 |
commit | c18c07a4a08f9277be7120fced7f471d16b141d1 (patch) | |
tree | bb1d19602fe84d087a552402331b4d4396dbc435 | |
parent | 2aaac03da9ce4932f476095840e0a372a8977e9f (diff) |
rename fb.c.in -> fb-upload.c.in
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | fb-upload.c.in (renamed from fb.c.in) | 0 |
3 files changed, 7 insertions, 7 deletions
@@ -2,4 +2,4 @@ dist fb.1 fb fb-upload -fb.c +fb-upload.c @@ -12,17 +12,17 @@ fb: fb.in sed 's|@VERSION@|$(VERSION)|; s|@LIBDIR@|$(LIBDIR)|' fb.in > fb chmod 755 fb -fb.c: fb.c.in - sed 's/@VERSION@/$(VERSION)/' fb.c.in > fb.c +fb-upload.c: fb-upload.c.in + sed 's/@VERSION@/$(VERSION)/' fb-upload.c.in > fb-upload.c -fb-upload: fb.c - $(CC) $(CFLAGS) -lcurl -lm -o fb-upload fb.c +fb-upload: fb-upload.c + $(CC) $(CFLAGS) -lcurl -lm -o fb-upload fb-upload.c fb.1: fb.pod pod2man -c "" fb.pod fb.1 clean: - rm -f fb.1 fb fb.c fb-upload + rm -f fb.1 fb fb-upload.c fb-upload rm -rf dist install: all @@ -38,7 +38,7 @@ uninstall: dist: all @[ -n "$(VERSION)" ] || (echo "Error: version detection failed"; exit 1) mkdir -p dist/fb-$(VERSION) - cp -a fb fb.c fb.in fb.pod fb.1 COPYING Makefile dist/fb-$(VERSION) + cp -a fb fb-upload.c fb.in fb.pod fb.1 COPYING Makefile dist/fb-$(VERSION) sed -i 's/^VERSION:=.*$$/VERSION:="'$(VERSION)'"/' dist/fb-$(VERSION)/Makefile cd dist; tar -czf fb-$(VERSION).tar.gz fb-$(VERSION) |