-
Notifications
You must be signed in to change notification settings - Fork 39
/
Makefile
19 lines (15 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: build install
translation:
xgettext --from-code=UTF-8 *.js --output=po/bluetooth-battery-indicator.pot
build:
glib-compile-schemas ./schemas
cp -R Bluetooth_Headset_Battery_Level .Bluetooth_Headset_Battery_Level
rm -f Bluetooth_Headset_Battery_Level/.git Bluetooth_Headset_Battery_Level/.gitignore Bluetooth_Headset_Battery_Level/Dockerfile Bluetooth_Headset_Battery_Level/__init__.py
gnome-extensions pack -f --extra-source=Bluetooth_Headset_Battery_Level --extra-source=scripts/ --extra-source=UPowerController.js --extra-source=constants.js --extra-source=indicator.js --extra-source=LICENSE --extra-source=README.md --extra-source=settings.js --extra-source=settingsWidget.js --extra-source=utils.js . --out-dir=./
rm -Rf Bluetooth_Headset_Battery_Level
mv .Bluetooth_Headset_Battery_Level Bluetooth_Headset_Battery_Level
install:
gnome-extensions install -f [email protected]
clean:
rm -f schemas/gschemas.compiled
rm -f [email protected]