diff --git a/sources/CONTRIBUTION.md b/sources/CONTRIBUTION.md index 73f867e..2cfe71f 100644 --- a/sources/CONTRIBUTION.md +++ b/sources/CONTRIBUTION.md @@ -2,3 +2,6 @@ It is suggested for the new contributors to use the following tools: - `clang-format` for all the C files, source and headers. + +The codebase is better compiled and checked with `-Wall`. Ideally, no warning +should show. diff --git a/sources/Makefile.am b/sources/Makefile.am index ec3e42b..d9c9bb2 100644 --- a/sources/Makefile.am +++ b/sources/Makefile.am @@ -1,18 +1,16 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = libjalali src man test_kit +SUBDIRS = libjalali src man test_kit if WANT_PYJALALI install-exec-hook: - @echo -e "\n###########################\n"\ -"## Installing Pyjalali ##\n"\ -"###########################\n" + @printf "Installing PyJalali" test -d pyjalali || mkdir pyjalali - @$(CP) $(srcdir)/pyjalali/*.py pyjalali - @$(CP) $(srcdir)/setup.py . + @cp $(srcdir)/pyjalali/*.py pyjalali + @cp $(srcdir)/setup.py . LIBJALALI_DIR=$(DESTDIR)$(libdir) \ $(PYTHON) setup.py install --prefix=$(DESTDIR)$(exec_prefix) --record=pyinstalled.txt uninstall-hook: - while read -r fn; do $(RM) -rf "$$fn"; done