Commit cbd6a23b authored by Andreas Henriksson's avatar Andreas Henriksson

debian/rules: update cleanup of generated files

- upstream changed which files are generated, adapt to it.

Git-Dch: Full
parent bd58e059
......@@ -33,13 +33,14 @@ override_dh_auto_clean:
cd contrib/ && rm -f $(CONTRIB_BINARIES)
rm -f po/gr.po # replaced by el.po
# force rebuilding of generated code
rm -f src/loadkeys.c src/loadkeys.h src/loadkeys.analyze.c src/loadkeys.analyze.h
rm -f src/libkeymap/analyze.h src/libkeymap/analyze.c
dh_auto_configure -- --enable-nls --disable-vlock
$(MAKE) -C src/ CFLAGS="-Os -g" loadkeys.analyze.h $(UDEB_BINARIES)
$(MAKE) -C src/libkeymap CFLAGS="-Os -g" analyze.h
$(MAKE) -C src/ CFLAGS="-Os -g" $(UDEB_BINARIES)
cd src/ && for ITEM in $(UDEB_BINARIES); do mv $$ITEM $$ITEM-udeb; done
$(MAKE) -C src/ clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment