dev-utils.mk is meant to provide targets like install-to-system,
which will be invoked during development
Signed-off-by: Jan Lindemann <jan@janware.com>
Generating the $(TOPDIR)/HASH file produced a warning for every
package file containing a whitespace character. Hopefully, this
build fixes the problem, by working on zero-delimited lists
of file names
Signed-off-by: Jan Lindemann <jan@janware.com>
Trade the bigger images generated by default by a greater variety of PNG icons,
in the sizes 16 32 48 64 72 96 128 144 168 192. I took these from an example
manifest, but I'm not sure about what typical sizes are. The following images
aren't generated anylonger by default: 50 100 200 300 400 500 600 700 800 546.
Also introduce new variable GENERATED_EXTRA_WIDTHS.
Signed-off-by: Jan Lindemann <jan@janware.com>
This used to point to $(PREFIX). Changing it broke the build,
as it expected the VERSION file below PREFIX. This should work
now, as /usr/share/doc/packages was added to the search path
of the VERSION file.
Signed-off-by: Jan Lindemann <jan@janware.com>
Up to now, generating and installing gettext .mo files worked
for exactly one .po file. Now all files in the directory are
compiled by default.
Editing only targets $(PROJECT).po, though, so this works
as before.
Signed-off-by: Jan Lindemann <jan@janware.com>
Change HTMLOWNER and HTMLDIROWNER to wwwrun, and HTMLGROUP and HTMLDIRGROUP to
www. This was made necessary by the dokuwiki package, which installs
directories with these file ownerships, and which disallows RPM-installing the
same directories with other ownerships. Might not be a solution for all
packages and platforms.
Signed-off-by: Jan Lindemann <jan@janware.com>
/etc/apache2 is relatively crowded, because lots of packages dump their default
configuration there, which makes the apache service configuration hard to
control. This commit makes most apache2-reliant services by janware rely on
jw-apache instead, and have jw-apache keep its own configuration directory
/etc/jw-apache. Some hand-picked config files are still included from
/etc/jw-apache/conf.d/etc-apache2.conf.
Signed-off-by: Jan Lindemann <jan@janware.com>
This mostly allows for a shortcut to disable an existing projects.txt
on the command line: Make xyz PROJECTS_TXT=
Signed-off-by: Jan Lindemann <jan@janware.com>
Remove bogus CLONE_PROJECTS environment variable from pgit.sh invocation.
CLONE_PROJECTS doesn't have any effect. PGIT_CLONE_PROJECTS would have, but it
doesn't make sense to set it to $(PROJECTS), since that would include the
non-git projects, too.
Signed-off-by: Jan Lindemann <jan@janware.com>
pkg.sh install-log now supports a -N option, meaning no-log-directories. This
installs directories, but doesn't log then in the install log, effectively
excluding them from being packaged. This is necessary for directories provided
by other packages. -N can be activated by adding LOG_INSTALL_EXTRA_OPTS += -N
to a Makefile, see changes in defs.mk.
pgk.sh install-log now also omits addition of %attr tags to symbolic links.
Signed-off-by: Jan Lindemann <jan@janware.com>
Detect PERL_CORE_DIR /usr/lib64/perl5/CORE, as in CentOS 7. Still
doesn't work, as compilation fails on the generated C++ code.
Signed-off-by: Jan Lindemann <jan@janware.com>
Used to be $(shell readlink -f /usr/share/vim/current) and is now
/usr/share/vim/site/plugin, because vim seems to ignore the former
Signed-off-by: Jan Lindemann <jan@janware.com>
- Make LOCAL_HTML and INSTALL_HTMLDIR pre-definable via ?=
- Add *.cgi to LOCAL_HTML by default
Don't know if that's a good move. Will be treated as regular HTML, and, hence
installed without execute permission bit set.
Signed-off-by: Jan Lindemann <jan@janware.com>
git-echo-link-<filename> returns a string functioning as hyperlink to the file
in git if embedded into a janware wiki or ticket.
Signed-off-by: Jan Lindemann <jan@janware.com>
Not so great. Doesn't remove console.log(innerfunc()). Another approach would
be to use a global debug() function and set debug to null in an included
javascript file
Signed-off-by: Jan Lindemann <jan@janware.com>