/usr/share/mediawiki/skins/Makefile is in fusionforge-plugin-mediawiki 5.1.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | MWSKINPATH=/usr/share/mediawiki/skins
all: FusionForge.php
allold: FusionForge.php fusionforge/main.css
FusionForge.php: FusionForge.php.renamed
@echo 'Building $@'
patch -p0 -o $@ FusionForge.php.renamed FusionForge.php.patch
FusionForge.php.renamed: $(MWSKINPATH)
cp $(MWSKINPATH)/MonoBook.php FusionForge.php.reference
cat $(MWSKINPATH)/MonoBook.php | sed 's/MonoBook/FusionForge/g' | sed 's/monobook/fusionforge/g' > $@
fusionforge/main.css: fusionforge/main.css.renamed
@echo 'Building $@'
patch -p0 -o $@ fusionforge/main.css.renamed fusionforge/main.css.patch
fusionforge/main.css.renamed: $(MWSKINPATH)
cp $(MWSKINPATH)/monobook/main.css fusionforge/main.css.reference
cat $(MWSKINPATH)/monobook/main.css | sed 's/MonoBook/FusionForge/g' | sed 's/monobook/fusionforge/g' > $@
$(MWSKINPATH):
echo 'You must install mediawiki to get reference files'
cleanphp:
rm -f FusionForge.php.renamed FusionForge.php.patch2
cleancss:
rm -f fusionforge/main.css.renamed fusionforge/main.css.patch2
patchphp: FusionForge.php.renamed
-diff -uN FusionForge.php.renamed FusionForge.php > FusionForge.php.patch2
patchcss: fusionforge/main.css.renamed
-diff -uN fusionforge/main.css.renamed fusionforge/main.css > fusionforge/main.css.patch2
|