diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-06-02 10:43:01 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-06-02 10:43:01 +0200 |
commit | 2e009bcb22f479a40f8112f8c8ea8d6a5f17b732 (patch) | |
tree | 88951328c1c4df675e19f8f094ee05a7ed172ccc /Makefile | |
parent | d75a3cf64fc0e7f61533f96371fd99af7d987849 (diff) | |
download | dovecot-antispam-2e009bcb22f479a40f8112f8c8ea8d6a5f17b732.tar.gz dovecot-antispam-2e009bcb22f479a40f8112f8c8ea8d6a5f17b732.tar.xz dovecot-antispam-2e009bcb22f479a40f8112f8c8ea8d6a5f17b732.zip |
add git version to plugin
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -65,7 +65,7 @@ all: verify_config $(LIBRARY_NAME) antispam-storage.o: antispam-storage.c antispam-storage-*.c $(CONFIG) antispam-plugin.h dovecot-version.h $(CC) -c $(CFLAGS) $(INCS) -o $@ $< -%.o: %.c $(CONFIG) antispam-plugin.h dovecot-version.h +%.o: %.c $(CONFIG) antispam-plugin.h dovecot-version.h antispam-version.h $(CC) -c $(CFLAGS) $(INCS) -o $@ $< $(LIBRARY_NAME): $(objs) @@ -77,8 +77,11 @@ dovecot-version: dovecot-version.c $(CONFIG) dovecot-version.h: dovecot-version ./dovecot-version > dovecot-version.h +antispam-version.h: git-version.sh + ./git-version.sh > antispam-version.h + clean: - rm -f *.so *.o *~ dovecot-version dovecot-version.h + rm -f *.so *.o *~ dovecot-version dovecot-version.h antispam-version.h install: all install -o $(USER) -g $(GROUP) -m 0660 $(LIBRARY_NAME) $(INSTALLDIR)/ |