5 # Include system-specific configuration: auto-generated and optionally local
6 include build
/system-inc.mk
11 ######################################
15 ioncore notion etc utils man po
17 SUBDIRS
= $(LIBS_SUBDIRS
) $(INSTALL_SUBDIRS
)
19 DOCS
= README LICENSE ChangeLog RELNOTES
21 TO_REALCLEAN
= build
/ac
/system-ac.mk
25 ######################################
27 include build
/rules.mk
29 ######################################
32 $(INSTALLDIR
) $(DESTDIR
)$(DOCDIR
)
33 for i in
$(DOCS
); do \
34 $(INSTALL
) -m
$(DATA_MODE
) $$i $(DESTDIR
)$(DOCDIR
); \
38 $(MAKE
) RELOCATABLE
=1 PREFIX
=
42 DIR
=`basename "$$PWD"` ;\
43 RELEASE
=`./nextversion.sh` ;\
44 perl
-p
-i
-e
"s/^#define NOTION_RELEASE.*/#define NOTION_RELEASE \"$$RELEASE\"/" version.h
;\
45 git tag
$$RELEASE ; git push
--tags ;\
47 tar --exclude-vcs
-czf notion-
$$RELEASE-src.
tar.gz
$$DIR ;\
48 tar --exclude-vcs
-cjf notion-
$$RELEASE-src.
tar.bz2
$$DIR ;\
50 git checkout version.h